Struct primitives::foundation::ImageData [−][src]
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
width: u32
height: u32
data: Bytes
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ImageData
impl UnwindSafe for ImageData
Blanket Implementations
Mutably borrows from an owned value. Read more