pub struct LinearRgbImage { /* private fields */ }Expand description
Internal linear RGB image representation.
Stores pixels as [f32; 3] in linear RGB color space (0.0-1.0 range).
Implementations§
Trait Implementations§
Source§impl Clone for LinearRgbImage
impl Clone for LinearRgbImage
Source§fn clone(&self) -> LinearRgbImage
fn clone(&self) -> LinearRgbImage
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 From<LinearRgbImage> for LinearRgb
impl From<LinearRgbImage> for LinearRgb
Source§fn from(img: LinearRgbImage) -> Self
fn from(img: LinearRgbImage) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LinearRgbImage
impl RefUnwindSafe for LinearRgbImage
impl Send for LinearRgbImage
impl Sync for LinearRgbImage
impl Unpin for LinearRgbImage
impl UnwindSafe for LinearRgbImage
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