pub struct Absolute {
pub space: Space,
pub channels: [Option<f64>; 3],
pub alpha: Option<f64>,
}Expand description
A colour with numbers for channels, None where one is missing.
Fields§
§space: Space§channels: [Option<f64>; 3]§alpha: Option<f64>Implementations§
Trait Implementations§
impl Copy for Absolute
impl StructuralPartialEq for Absolute
Auto Trait Implementations§
impl Forget for Absolute
impl Freeze for Absolute
impl Move for Absolute
impl RefUnwindSafe for Absolute
impl Send for Absolute
impl Sync for Absolute
impl Unpin for Absolute
impl UnsafeUnpin for Absolute
impl UnwindSafe for Absolute
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