pub enum ThumbnailMode {
    Strict,
    Bestfit,
    FitoneBestfit,
}Available on crate features 
sync_routes and dbx_files only.Variants§
Strict
Scale down the image to fit within the given size.
Bestfit
Scale down the image to fit within the given size or its transpose.
FitoneBestfit
Scale down the image to completely cover the given size or its transpose.
Trait Implementations§
Source§impl Clone for ThumbnailMode
 
impl Clone for ThumbnailMode
Source§fn clone(&self) -> ThumbnailMode
 
fn clone(&self) -> ThumbnailMode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for ThumbnailMode
 
impl Debug for ThumbnailMode
Source§impl<'de> Deserialize<'de> for ThumbnailMode
 
impl<'de> Deserialize<'de> for ThumbnailMode
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
 
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ThumbnailMode
 
impl PartialEq for ThumbnailMode
Source§impl Serialize for ThumbnailMode
 
impl Serialize for ThumbnailMode
impl Eq for ThumbnailMode
impl StructuralPartialEq for ThumbnailMode
Auto Trait Implementations§
impl Freeze for ThumbnailMode
impl RefUnwindSafe for ThumbnailMode
impl Send for ThumbnailMode
impl Sync for ThumbnailMode
impl Unpin for ThumbnailMode
impl UnwindSafe for ThumbnailMode
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.