pub struct LumaData {
pub data: Vec<u8>,
pub width: u32,
pub height: u32,
pub interpolate: bool,
}Expand description
A structure holding 1-channel luma data.
Fields§
§data: Vec<u8>The actual data. It is guaranteed to have the length width * height.
width: u32The width.
height: u32The height.
interpolate: boolWhether the image should be interpolated.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LumaData
impl RefUnwindSafe for LumaData
impl Send for LumaData
impl Sync for LumaData
impl Unpin for LumaData
impl UnwindSafe for LumaData
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