Struct Pf
#[repr(transparent)]pub struct Pf(pub u8);
Tuple Fields§
§0: u8
Implementations§
§impl Pf
impl Pf
pub const ARGB8888: Self
pub const ARGB8888: Self
ARGB8888
pub const RGB888: Self
pub const RGB888: Self
RGB888
pub const RGB565: Self
pub const RGB565: Self
RGB565
pub const ARGB1555: Self
pub const ARGB1555: Self
ARGB1555
pub const ARGB4444: Self
pub const ARGB4444: Self
ARGB4444
pub const L8: Self
pub const L8: Self
L8 (8-bit luminance)
pub const AL44: Self
pub const AL44: Self
AL44 (4-bit alpha, 4-bit luminance)
pub const AL88: Self
pub const AL88: Self
AL88 (8-bit alpha, 8-bit luminance)
Trait Implementations§
§impl Ord for Pf
impl Ord for Pf
§impl PartialOrd for Pf
impl PartialOrd for Pf
impl Copy for Pf
impl Eq for Pf
impl StructuralPartialEq for Pf
Auto Trait Implementations§
impl Freeze for Pf
impl RefUnwindSafe for Pf
impl Send for Pf
impl Sync for Pf
impl Unpin for Pf
impl UnwindSafe for Pf
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