pub struct RyColor {
pub r: u8,
pub g: u8,
pub b: u8,
pub a: u8,
}Expand description
Color ry-dit (compatible con raylib y SDL2)
Fields§
§r: u8§g: u8§b: u8§a: u8Implementations§
Source§impl RyColor
impl RyColor
pub const BLACK: Self
pub const WHITE: Self
pub const RED: Self
pub const GREEN: Self
pub const BLUE: Self
pub const YELLOW: Self
pub const CYAN: Self
pub const MAGENTA: Self
pub const ORANGE: Self
pub const GRAY: Self
pub const DARK_GRAY: Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RyColor
impl RefUnwindSafe for RyColor
impl Send for RyColor
impl Sync for RyColor
impl Unpin for RyColor
impl UnsafeUnpin for RyColor
impl UnwindSafe for RyColor
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