pub enum GraphicContent {
Pdf,
PostScript,
Raster,
}Expand description
What a graphic file holds, by its first bytes: drawn (PDF, PostScript), so a converter renders it at a density, or
a raster’s pixels (PNG, JPEG, GIF, TIFF, BMP, WebP), which -density does not resample.
Variants§
Trait Implementations§
Source§impl Clone for GraphicContent
impl Clone for GraphicContent
impl Copy for GraphicContent
Source§impl Debug for GraphicContent
impl Debug for GraphicContent
impl Eq for GraphicContent
Source§impl PartialEq for GraphicContent
impl PartialEq for GraphicContent
impl StructuralPartialEq for GraphicContent
Auto Trait Implementations§
impl Freeze for GraphicContent
impl RefUnwindSafe for GraphicContent
impl Send for GraphicContent
impl Sync for GraphicContent
impl Unpin for GraphicContent
impl UnsafeUnpin for GraphicContent
impl UnwindSafe for GraphicContent
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more