pub struct ImageF64 { /* private fields */ }
Expand description
Buffer storing the image. All pixel values are expected to be f64.
Implementations§
Source§impl ImageF64
impl ImageF64
Sourcepub fn new_empty(channels: u8, width: u32, height: u32) -> Self
pub fn new_empty(channels: u8, width: u32, height: u32) -> Self
Creates new empty buffer with the specified number of channels, width and heights. All pixel values will be initialized as 0.0
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ImageF64
impl RefUnwindSafe for ImageF64
impl Send for ImageF64
impl Sync for ImageF64
impl Unpin for ImageF64
impl UnwindSafe for ImageF64
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