Enum wasm4_sx::PaletteColor
source · #[repr(u8)]pub enum PaletteColor {
Transparent,
P1,
P2,
P3,
P4,
}
Expand description
Palette color.
Variants§
Transparent
Transparent.
P1
First palette color.
P2
Second palette color.
P3
Third palette color.
P4
Fourth palette color.
Trait Implementations§
source§impl Clone for PaletteColor
impl Clone for PaletteColor
source§fn clone(&self) -> PaletteColor
fn clone(&self) -> PaletteColor
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 PaletteColor
Auto Trait Implementations§
impl RefUnwindSafe for PaletteColor
impl Send for PaletteColor
impl Sync for PaletteColor
impl Unpin for PaletteColor
impl UnwindSafe for PaletteColor
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