Struct primitives::foundation::ImageData
source · [−]pub struct ImageData {
pub format: PixelFormat,
pub width: u32,
pub height: u32,
pub data: Bytes,
}
Expand description
Represens image data with parameters
Fields
format: PixelFormat
Image format
width: u32
Image width
height: u32
Image height
data: Bytes
Image data
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ImageData
impl Send for ImageData
impl Sync for ImageData
impl Unpin for ImageData
impl UnwindSafe for ImageData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more