pub struct Pixel<'a> { /* private fields */ }
Implementations§
Source§impl<'a> Pixel<'a>
impl<'a> Pixel<'a>
pub fn set_colour_array_rgba_f32(&mut self, colour: [f32; 4])
pub fn set_colour_array_rgba_u8(&mut self, [r, g, b, a]: [u8; 4])
pub fn set_colour_array_rgb_f32(&mut self, [r, g, b]: [f32; 3])
pub fn set_colour_array_rgb_u8(&mut self, [r, g, b]: [u8; 3])
Auto Trait Implementations§
impl<'a> Freeze for Pixel<'a>
impl<'a> RefUnwindSafe for Pixel<'a>
impl<'a> Send for Pixel<'a>
impl<'a> Sync for Pixel<'a>
impl<'a> Unpin for Pixel<'a>
impl<'a> !UnwindSafe for Pixel<'a>
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