pub struct LoadedImage {
pub pixel_data: ImagePixelData,
pub width_px: u32,
pub height_px: u32,
}Expand description
A fully decoded/loaded image ready for PDF embedding.
Fields§
§pixel_data: ImagePixelData§width_px: u32§height_px: u32Trait Implementations§
Source§impl Clone for LoadedImage
impl Clone for LoadedImage
Source§fn clone(&self) -> LoadedImage
fn clone(&self) -> LoadedImage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LoadedImage
impl RefUnwindSafe for LoadedImage
impl Send for LoadedImage
impl Sync for LoadedImage
impl Unpin for LoadedImage
impl UnsafeUnpin for LoadedImage
impl UnwindSafe for LoadedImage
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