Struct rust_raylib::ffi::Color
source · #[repr(C)]pub struct Color {
pub r: c_uchar,
pub g: c_uchar,
pub b: c_uchar,
pub a: c_uchar,
}Expand description
Color, 4 components, R8G8B8A8 (32bit)
Fields§
§r: c_ucharColor red value
g: c_ucharColor green value
b: c_ucharColor blue value
a: c_ucharColor alpha value
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Color
impl Send for Color
impl Sync for Color
impl Unpin for Color
impl UnwindSafe for Color
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