Enum dropbox_sdk::files::ThumbnailMode
source · pub enum ThumbnailMode {
Strict,
Bestfit,
FitoneBestfit,
}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
Available on crate feature dbx_files only.
impl Clone for ThumbnailMode
Available on crate feature
dbx_files only.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
Available on crate feature dbx_files only.
impl Debug for ThumbnailMode
Available on crate feature
dbx_files only.source§impl<'de> Deserialize<'de> for ThumbnailMode
Available on crate feature dbx_files only.
impl<'de> Deserialize<'de> for ThumbnailMode
Available on crate feature
dbx_files only.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
Available on crate feature dbx_files only.
impl PartialEq for ThumbnailMode
Available on crate feature
dbx_files only.source§fn eq(&self, other: &ThumbnailMode) -> bool
fn eq(&self, other: &ThumbnailMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ThumbnailMode
Available on crate feature dbx_files only.
impl Serialize for ThumbnailMode
Available on crate feature
dbx_files only.impl Eq for ThumbnailMode
Available on crate feature
dbx_files only.impl StructuralEq for ThumbnailMode
Available on crate feature
dbx_files only.impl StructuralPartialEq for ThumbnailMode
Available on crate feature
dbx_files only.Auto Trait Implementations§
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