Struct floem_peniko::Image
source · pub struct Image {
pub data: Blob<u8>,
pub format: Format,
pub width: u32,
pub height: u32,
pub extend: Extend,
}
Expand description
Owned shareable image resource.
Fields§
§data: Blob<u8>
Blob containing the image data.
format: Format
Pixel format of the image.
width: u32
Width of the image.
height: u32
Height of the image.
extend: Extend
Extend mode
Implementations§
Trait Implementations§
source§impl PartialEq for Image
impl PartialEq for Image
impl StructuralPartialEq for Image
Auto Trait Implementations§
impl !RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl !UnwindSafe for Image
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