Trait rsvg::surface_utils::PixelOps
source · pub trait PixelOps {
// Required methods
fn premultiply(self) -> Self;
fn unpremultiply(self) -> Self;
fn diff(&self, other: &Self) -> Self;
fn to_luminance_mask(&self) -> Self;
fn to_u32(&self) -> u32;
fn from_u32(x: u32) -> Self;
}
Required Methods§
fn premultiply(self) -> Self
fn unpremultiply(self) -> Self
fn diff(&self, other: &Self) -> Self
fn to_luminance_mask(&self) -> Self
fn to_u32(&self) -> u32
fn from_u32(x: u32) -> Self
Object Safety§
This trait is not object safe.