pub struct PixelQuad { /* private fields */ }
Implementations§
source§impl PixelQuad
impl PixelQuad
pub fn new(a: u2, b: u2, c: u2, d: u2) -> Self
pub fn a(&self) -> u2
pub fn set_a(&mut self, value: u2)
pub fn b(&self) -> u2
pub fn set_b(&mut self, value: u2)
pub fn c(&self) -> u2
pub fn set_c(&mut self, value: u2)
pub fn d(&self) -> u2
pub fn set_d(&mut self, value: u2)
Trait Implementations§
impl Copy for PixelQuad
Auto Trait Implementations§
impl RefUnwindSafe for PixelQuad
impl Send for PixelQuad
impl Sync for PixelQuad
impl Unpin for PixelQuad
impl UnwindSafe for PixelQuad
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