#[repr(C)]pub struct Clay_Color {
pub r: f32,
pub g: f32,
pub b: f32,
pub a: f32,
}Fields§
§r: f32§g: f32§b: f32§a: f32Trait Implementations§
Source§impl Clone for Clay_Color
impl Clone for Clay_Color
Source§fn clone(&self) -> Clay_Color
fn clone(&self) -> Clay_Color
Returns a duplicate 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 moreSource§impl Debug for Clay_Color
impl Debug for Clay_Color
Source§impl From<Clay_Color> for Color
impl From<Clay_Color> for Color
Source§fn from(value: Clay_Color) -> Self
fn from(value: Clay_Color) -> Self
Converts to this type from the input type.
Source§impl From<Color> for Clay_Color
impl From<Color> for Clay_Color
impl Copy for Clay_Color
Auto Trait Implementations§
impl Freeze for Clay_Color
impl RefUnwindSafe for Clay_Color
impl Send for Clay_Color
impl Sync for Clay_Color
impl Unpin for Clay_Color
impl UnwindSafe for Clay_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