Struct rich_sdl2_rust::color::pixel::PixelMask
source · pub struct PixelMask(pub u32);
Expand description
A bit mask to extract a component.
Tuple Fields§
§0: u32
Trait Implementations§
source§impl PartialEq for PixelMask
impl PartialEq for PixelMask
impl Eq for PixelMask
impl StructuralPartialEq for PixelMask
Auto Trait Implementations§
impl RefUnwindSafe for PixelMask
impl Send for PixelMask
impl Sync for PixelMask
impl Unpin for PixelMask
impl UnwindSafe for PixelMask
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