#[repr(C)]pub enum FormatType {
Color = 0,
Grayscale = 64,
Palette = 128,
}Expand description
Offset value used for the values of PixelFormat
Variants§
Trait Implementations§
Source§impl Clone for FormatType
impl Clone for FormatType
Source§fn clone(&self) -> FormatType
fn clone(&self) -> FormatType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FormatType
impl Debug for FormatType
Source§impl Hash for FormatType
impl Hash for FormatType
Source§impl PartialEq for FormatType
impl PartialEq for FormatType
impl Copy for FormatType
impl Eq for FormatType
impl StructuralPartialEq for FormatType
Auto Trait Implementations§
impl Freeze for FormatType
impl RefUnwindSafe for FormatType
impl Send for FormatType
impl Sync for FormatType
impl Unpin for FormatType
impl UnwindSafe for FormatType
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