pub struct GrayImage {
pub w: usize,
pub h: usize,
pub px: Vec<f32>,
}Expand description
Grayscale pixels in [0, 1], row-major.
Fields§
§w: usize§h: usize§px: Vec<f32>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GrayImage
impl RefUnwindSafe for GrayImage
impl Send for GrayImage
impl Sync for GrayImage
impl Unpin for GrayImage
impl UnsafeUnpin for GrayImage
impl UnwindSafe for GrayImage
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