#[repr(u8)]pub enum ImageSize {
Bits4 = 0,
Bits8 = 1,
Bits16 = 2,
Bits32 = 3,
Bits1 = 4,
DD = 5,
}
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for ImageSize
impl PartialEq for ImageSize
source§impl TryFrom<u8> for ImageSize
impl TryFrom<u8> for ImageSize
§type Error = TryFromPrimitiveError<ImageSize>
type Error = TryFromPrimitiveError<ImageSize>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for ImageSize
impl TryFromPrimitive for ImageSize
impl Copy for ImageSize
impl Eq for ImageSize
impl StructuralPartialEq for ImageSize
Auto Trait Implementations§
impl Freeze for ImageSize
impl RefUnwindSafe for ImageSize
impl Send for ImageSize
impl Sync for ImageSize
impl Unpin for ImageSize
impl UnwindSafe for ImageSize
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