#[repr(C)]pub struct SkColorMatrix {
pub fMat: __BindgenOpaqueArray<u32, 20usize>,
}Fields§
§fMat: __BindgenOpaqueArray<u32, 20usize>Implementations§
Source§impl SkColorMatrix
impl SkColorMatrix
pub unsafe fn RGBtoYUV(arg1: SkYUVColorSpace) -> SkColorMatrix
pub unsafe fn YUVtoRGB(arg1: SkYUVColorSpace) -> SkColorMatrix
pub unsafe fn setIdentity(&mut self)
pub unsafe fn setScale( &mut self, rScale: f32, gScale: f32, bScale: f32, aScale: f32, )
pub unsafe fn postTranslate(&mut self, dr: f32, dg: f32, db: f32, da: f32)
pub unsafe fn setConcat( &mut self, a: *const SkColorMatrix, b: *const SkColorMatrix, )
pub unsafe fn setSaturation(&mut self, sat: f32)
Auto Trait Implementations§
impl Freeze for SkColorMatrix
impl RefUnwindSafe for SkColorMatrix
impl Send for SkColorMatrix
impl Sync for SkColorMatrix
impl Unpin for SkColorMatrix
impl UnsafeUnpin for SkColorMatrix
impl UnwindSafe for SkColorMatrix
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more