pub enum Flags {
OneBitPerPixel,
TwoBitsPerPixel,
}Expand description
WASM-4 sprite flags
Only the two flags identifying the sprite’s bit depth are defined:
BLIT_1BPP and BLIT_2BPP.
Variants§
OneBitPerPixel
Flag identifying a sprite using one bit per pixel
TwoBitsPerPixel
Flag identifying a sprite using two bits per pixel
Implementations§
Trait Implementations§
Source§impl Ord for Flags
impl Ord for Flags
Source§impl PartialOrd for Flags
impl PartialOrd for Flags
impl Copy for Flags
impl Eq for Flags
impl StructuralPartialEq for Flags
Auto Trait Implementations§
impl Freeze for Flags
impl RefUnwindSafe for Flags
impl Send for Flags
impl Sync for Flags
impl Unpin for Flags
impl UnwindSafe for Flags
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