pub struct PlanarLabPalette {
pub l: Vec<f32>,
pub a: Vec<f32>,
pub b: Vec<f32>,
pub len: usize,
}Expand description
A color palette stored in a planar layout for SIMD efficiency.
Fields§
§l: Vec<f32>L components
a: Vec<f32>a components
b: Vec<f32>b components
len: usizeNumber of colors in the palette
Implementations§
Auto Trait Implementations§
impl Freeze for PlanarLabPalette
impl RefUnwindSafe for PlanarLabPalette
impl Send for PlanarLabPalette
impl Sync for PlanarLabPalette
impl Unpin for PlanarLabPalette
impl UnwindSafe for PlanarLabPalette
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