pub struct LayoutPresetMode(pub i64);Tuple Fields§
§0: i64Implementations§
Source§impl LayoutPresetMode
impl LayoutPresetMode
pub const MINSIZE: LayoutPresetMode
pub const KEEP_WIDTH: LayoutPresetMode
pub const KEEP_HEIGHT: LayoutPresetMode
pub const KEEP_SIZE: LayoutPresetMode
Trait Implementations§
Source§impl Clone for LayoutPresetMode
impl Clone for LayoutPresetMode
Source§fn clone(&self) -> LayoutPresetMode
fn clone(&self) -> LayoutPresetMode
Returns a duplicate 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 LayoutPresetMode
impl Debug for LayoutPresetMode
Source§impl From<LayoutPresetMode> for i64
impl From<LayoutPresetMode> for i64
Source§fn from(v: LayoutPresetMode) -> Self
fn from(v: LayoutPresetMode) -> Self
Converts to this type from the input type.
Source§impl From<i64> for LayoutPresetMode
impl From<i64> for LayoutPresetMode
Source§impl FromVariant for LayoutPresetMode
impl FromVariant for LayoutPresetMode
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for LayoutPresetMode
impl Hash for LayoutPresetMode
Source§impl Ord for LayoutPresetMode
impl Ord for LayoutPresetMode
Source§fn cmp(&self, other: &LayoutPresetMode) -> Ordering
fn cmp(&self, other: &LayoutPresetMode) -> Ordering
1.21.0 · 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
Source§impl PartialEq for LayoutPresetMode
impl PartialEq for LayoutPresetMode
Source§impl PartialOrd for LayoutPresetMode
impl PartialOrd for LayoutPresetMode
impl Copy for LayoutPresetMode
impl Eq for LayoutPresetMode
impl StructuralPartialEq for LayoutPresetMode
Auto Trait Implementations§
impl Freeze for LayoutPresetMode
impl RefUnwindSafe for LayoutPresetMode
impl Send for LayoutPresetMode
impl Sync for LayoutPresetMode
impl Unpin for LayoutPresetMode
impl UnwindSafe for LayoutPresetMode
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.