pub struct Omission {
pub object: Option<ObjectId>,
pub rect: [f64; 4],
pub reason: String,
}Expand description
An image the render could not draw as its pixels (#916): a placeholder
block stands in for it (a codec that failed or is missing), or it was left
out. rect is the image’s device bounding box in the output bitmap’s
pixels (before /Rotate is applied to the page).
Fields§
§object: Option<ObjectId>The image XObject’s object id (None for an inline image).
rect: [f64; 4][x0, y0, x1, y1].
reason: StringWhy, e.g. JPEG not decoded (Corrupt("no SOI")).
Trait Implementations§
impl StructuralPartialEq for Omission
Auto Trait Implementations§
impl Forget for Omission
impl Freeze for Omission
impl RefUnwindSafe for Omission
impl Send for Omission
impl Sync for Omission
impl Unpin for Omission
impl UnsafeUnpin for Omission
impl UnwindSafe for Omission
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
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