pub struct LinearColor {
pub r: f32,
pub g: f32,
pub b: f32,
pub a: f32,
}Fields§
§r: f32§g: f32§b: f32§a: f32Trait Implementations§
Source§impl Debug for LinearColor
impl Debug for LinearColor
Source§impl<'de> Deserialize<'de> for LinearColor
impl<'de> Deserialize<'de> for LinearColor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LinearColor
impl PartialEq for LinearColor
Source§impl Serialize for LinearColor
impl Serialize for LinearColor
impl StructuralPartialEq for LinearColor
Auto Trait Implementations§
impl Freeze for LinearColor
impl RefUnwindSafe for LinearColor
impl Send for LinearColor
impl Sync for LinearColor
impl Unpin for LinearColor
impl UnwindSafe for LinearColor
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