Struct allsorts::bitmap::EmbeddedBitmap
source · [−]pub struct EmbeddedBitmap {
pub width: u8,
pub height: u8,
pub format: BitDepth,
pub data: Box<[u8]>,
}
Expand description
Raw bitmap data.
Fields
width: u8
The width of the bitmap in pixels.
height: u8
The height of the bitmap in pixels.
format: BitDepth
The format of the pixel data.
data: Box<[u8]>
Raw pixel data.
Auto Trait Implementations
impl RefUnwindSafe for EmbeddedBitmap
impl Send for EmbeddedBitmap
impl Sync for EmbeddedBitmap
impl Unpin for EmbeddedBitmap
impl UnwindSafe for EmbeddedBitmap
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