pub struct DocumentImage { /* private fields */ }Expand description
A decoded image, with the file it came from: exporters can embed the file itself, which keeps JPEG photos small and unchanged. Clones share the data.
Implementations§
Source§impl DocumentImage
impl DocumentImage
Sourcepub fn format(&self) -> ImageFormat
pub fn format(&self) -> ImageFormat
The original file’s format.
Trait Implementations§
Source§impl Clone for DocumentImage
impl Clone for DocumentImage
Source§fn clone(&self) -> DocumentImage
fn clone(&self) -> DocumentImage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DocumentImage
impl Debug for DocumentImage
Source§impl PartialEq for DocumentImage
impl PartialEq for DocumentImage
impl StructuralPartialEq for DocumentImage
Auto Trait Implementations§
impl Freeze for DocumentImage
impl RefUnwindSafe for DocumentImage
impl Send for DocumentImage
impl Sync for DocumentImage
impl Unpin for DocumentImage
impl UnsafeUnpin for DocumentImage
impl UnwindSafe for DocumentImage
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