pub struct LinearPixel {
pub r: f32,
pub g: f32,
pub b: f32,
pub y: f32,
pub opaque: bool,
}Fields§
§r: f32§g: f32§b: f32§y: f32§opaque: boolTrait Implementations§
Source§impl Clone for LinearPixel
impl Clone for LinearPixel
Source§fn clone(&self) -> LinearPixel
fn clone(&self) -> LinearPixel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LinearPixel
impl Debug for LinearPixel
impl Copy for LinearPixel
Auto Trait Implementations§
impl Freeze for LinearPixel
impl RefUnwindSafe for LinearPixel
impl Send for LinearPixel
impl Sync for LinearPixel
impl Unpin for LinearPixel
impl UnsafeUnpin for LinearPixel
impl UnwindSafe for LinearPixel
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