pub enum AdjustMode {
ShrinkToFit,
}Expand description
Variants§
ShrinkToFit
Trait Implementations§
Source§impl Clone for AdjustMode
impl Clone for AdjustMode
Source§fn clone(&self) -> AdjustMode
fn clone(&self) -> AdjustMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AdjustMode
Source§impl Debug for AdjustMode
impl Debug for AdjustMode
Source§impl Default for AdjustMode
impl Default for AdjustMode
Source§fn default() -> AdjustMode
fn default() -> AdjustMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdjustMode
impl<'de> Deserialize<'de> for AdjustMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AdjustMode
Source§impl Hash for AdjustMode
impl Hash for AdjustMode
Source§impl Ord for AdjustMode
impl Ord for AdjustMode
Source§fn cmp(&self, other: &AdjustMode) -> Ordering
fn cmp(&self, other: &AdjustMode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AdjustMode
impl PartialEq for AdjustMode
Source§impl PartialOrd for AdjustMode
impl PartialOrd for AdjustMode
Source§impl Serialize for AdjustMode
impl Serialize for AdjustMode
impl StructuralPartialEq for AdjustMode
Auto Trait Implementations§
impl Freeze for AdjustMode
impl RefUnwindSafe for AdjustMode
impl Send for AdjustMode
impl Sync for AdjustMode
impl Unpin for AdjustMode
impl UnsafeUnpin for AdjustMode
impl UnwindSafe for AdjustMode
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