#[repr(u16)]pub enum MarioColor {
White = 4_864,
Red = 5_376,
Blue = 5_888,
Yellow = 6_144,
Black = 6_656,
Green = 9_472,
Brown = 27_136,
Cyan = 16_897,
}Expand description
@typedef MarioColor
@param {number} WHITE 0x1300
@param {number} RED 0x1500
@param {number} BLUE 0x1700
@param {number} YELLOW 0x1800
@param {number} BLACK 0x1a00
@param {number} GREEN 0x2500
@param {number} BROWN 0x6a00
@param {number} CYAN 0x4201Variants§
White = 4_864
Red = 5_376
Blue = 5_888
Yellow = 6_144
Black = 6_656
Green = 9_472
Brown = 27_136
Cyan = 16_897
Trait Implementations§
Source§impl Clone for MarioColor
impl Clone for MarioColor
Source§fn clone(&self) -> MarioColor
fn clone(&self) -> MarioColor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MarioColor
Source§impl Debug for MarioColor
impl Debug for MarioColor
impl Eq for MarioColor
Source§impl PartialEq for MarioColor
impl PartialEq for MarioColor
impl StructuralPartialEq for MarioColor
Auto Trait Implementations§
impl Freeze for MarioColor
impl RefUnwindSafe for MarioColor
impl Send for MarioColor
impl Sync for MarioColor
impl Unpin for MarioColor
impl UnsafeUnpin for MarioColor
impl UnwindSafe for MarioColor
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