pub struct ExportedImage {
pub object_id: ObjectId,
pub page: u32,
pub width: u32,
pub height: u32,
pub image: EncodedImage,
}Expand description
An image that was exported as a faithful PNG or JPEG.
Fields§
§object_id: ObjectIdThe PDF object ID of the image stream.
page: u32First page (1-based) on which the image is used.
width: u32Width in pixels.
height: u32Height in pixels.
image: EncodedImageThe encoded image.
Trait Implementations§
Source§impl Clone for ExportedImage
impl Clone for ExportedImage
Auto Trait Implementations§
impl Freeze for ExportedImage
impl RefUnwindSafe for ExportedImage
impl Send for ExportedImage
impl Sync for ExportedImage
impl Unpin for ExportedImage
impl UnsafeUnpin for ExportedImage
impl UnwindSafe for ExportedImage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more