#[non_exhaustive]pub enum Warning {
Docx(Warning),
Pdf(Warning),
PictureNotWrittenAgain {
format: ImageFormat,
},
SignatureBroken,
NoteKept,
}Expand description
What a rendering left out of the file, or drew in another way than the file asks, while it
went on with the rest. A warning holds no content of the document, only the names that the
file uses to point at a part or a font, cut and with printable characters only (Name).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Docx(Warning)
A warning of the DOCX layout.
Pdf(Warning)
A warning of the PDF writer.
PictureNotWrittenAgain
A picture whose file the target’s PDF writer writes again, such as each JPEG file at its quality, and that keeps its own file because its data does not decode.
Fields
§
format: ImageFormatThe picture’s format.
SignatureBroken
An edit changed a package that holds a digital signature, which no longer matches the
changed parts (edit::apply).
NoteKept
A deleted block held the reference of a footnote or an endnote, whose note stays in its
part (edit::apply).
Implementations§
Trait Implementations§
impl Eq for Warning
impl StructuralPartialEq for Warning
Auto Trait Implementations§
impl Forget for Warning
impl Freeze for Warning
impl Move for Warning
impl RefUnwindSafe for Warning
impl Send for Warning
impl Sync for Warningwhere
RawVecInner: Sync,
impl Unpin for Warning
impl UnsafeUnpin for Warningwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
&'static str: UnsafeUnpin,
PhantomData<Name>: UnsafeUnpin,
impl UnwindSafe for Warning
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.