pub struct MoshData {
pub buf: Vec<u8>,
pub image: Vec<u8>,
pub width: u32,
pub height: u32,
pub color_type: ColorType,
pub bit_depth: BitDepth,
pub line_size: usize,
}Expand description
Image data.
It holds the original image, buffer and parameters.
Fields§
§buf: Vec<u8>Buffer.
image: Vec<u8>Original image.
width: u32Width.
height: u32Height.
color_type: ColorTypeColor type.
bit_depth: BitDepthBit depth.
line_size: usizeLine size.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MoshData
impl Send for MoshData
impl Sync for MoshData
impl Unpin for MoshData
impl UnwindSafe for MoshData
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