pub enum RenditionClass<'a> {
Default,
Draft,
LowResolution,
Proof,
Screen,
Thumbnail {
format: Option<&'a str>,
size: Option<(u32, u32)>,
color_space: Option<&'a str>,
},
Custom(&'a str),
}
Expand description
The intended use of the resource.
Variants§
Default
The master resource.
Draft
A review copy.
LowResolution
A low-resolution stand-in.
Proof
A proof copy.
Screen
A copy at screen resolution.
Thumbnail
A thumbnail.
Fields
Custom(&'a str)
A custom rendition class.
Trait Implementations§
source§impl<'a> Clone for RenditionClass<'a>
impl<'a> Clone for RenditionClass<'a>
source§fn clone(&self) -> RenditionClass<'a>
fn clone(&self) -> RenditionClass<'a>
Returns a copy of the value. Read more
1.6.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for RenditionClass<'a>
impl<'a> Debug for RenditionClass<'a>
source§impl<'a> PartialEq for RenditionClass<'a>
impl<'a> PartialEq for RenditionClass<'a>
source§impl XmpType for RenditionClass<'_>
impl XmpType for RenditionClass<'_>
impl<'a> StructuralPartialEq for RenditionClass<'a>
Auto Trait Implementations§
impl<'a> Freeze for RenditionClass<'a>
impl<'a> RefUnwindSafe for RenditionClass<'a>
impl<'a> Send for RenditionClass<'a>
impl<'a> Sync for RenditionClass<'a>
impl<'a> Unpin for RenditionClass<'a>
impl<'a> UnwindSafe for RenditionClass<'a>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)