Enum wasm4_sx::PaletteIndex
source · #[repr(u8)]pub enum PaletteIndex {
P1,
P2,
P3,
P4,
}
Expand description
Palette index.
Variants§
Trait Implementations§
source§impl Clone for PaletteIndex
impl Clone for PaletteIndex
source§fn clone(&self) -> PaletteIndex
fn clone(&self) -> PaletteIndex
Returns a copy 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 moreimpl Copy for PaletteIndex
Auto Trait Implementations§
impl RefUnwindSafe for PaletteIndex
impl Send for PaletteIndex
impl Sync for PaletteIndex
impl Unpin for PaletteIndex
impl UnwindSafe for PaletteIndex
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