#[non_exhaustive]pub enum PdfRasterFallback {
AllowIsolated,
Forbid,
}Expand description
Policy for PDF-only isolated raster fallback.
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.
AllowIsolated
Rasterize only the isolated closures allowed by the compatibility contract.
Forbid
Fail if an isolated raster fallback closure remains after preflight.
Trait Implementations§
Source§impl Clone for PdfRasterFallback
impl Clone for PdfRasterFallback
impl Copy for PdfRasterFallback
Source§impl Debug for PdfRasterFallback
impl Debug for PdfRasterFallback
Source§impl Default for PdfRasterFallback
impl Default for PdfRasterFallback
impl Eq for PdfRasterFallback
Source§impl PartialEq for PdfRasterFallback
impl PartialEq for PdfRasterFallback
impl StructuralPartialEq for PdfRasterFallback
Auto Trait Implementations§
impl Freeze for PdfRasterFallback
impl RefUnwindSafe for PdfRasterFallback
impl Send for PdfRasterFallback
impl Sync for PdfRasterFallback
impl Unpin for PdfRasterFallback
impl UnsafeUnpin for PdfRasterFallback
impl UnwindSafe for PdfRasterFallback
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<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,
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.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.