pub struct LayoutPreset(pub i64);Tuple Fields§
§0: i64Implementations§
Source§impl LayoutPreset
impl LayoutPreset
pub const TOP_LEFT: LayoutPreset
pub const TOP_RIGHT: LayoutPreset
pub const BOTTOM_LEFT: LayoutPreset
pub const BOTTOM_RIGHT: LayoutPreset
pub const CENTER_LEFT: LayoutPreset
pub const CENTER_TOP: LayoutPreset
pub const CENTER_RIGHT: LayoutPreset
pub const CENTER_BOTTOM: LayoutPreset
pub const CENTER: LayoutPreset
pub const LEFT_WIDE: LayoutPreset
pub const TOP_WIDE: LayoutPreset
pub const RIGHT_WIDE: LayoutPreset
pub const BOTTOM_WIDE: LayoutPreset
pub const VCENTER_WIDE: LayoutPreset
pub const HCENTER_WIDE: LayoutPreset
pub const WIDE: LayoutPreset
Trait Implementations§
Source§impl Clone for LayoutPreset
impl Clone for LayoutPreset
Source§fn clone(&self) -> LayoutPreset
fn clone(&self) -> LayoutPreset
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 LayoutPreset
impl Debug for LayoutPreset
Source§impl From<LayoutPreset> for i64
impl From<LayoutPreset> for i64
Source§fn from(v: LayoutPreset) -> Self
fn from(v: LayoutPreset) -> Self
Converts to this type from the input type.
Source§impl From<i64> for LayoutPreset
impl From<i64> for LayoutPreset
Source§impl FromVariant for LayoutPreset
impl FromVariant for LayoutPreset
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for LayoutPreset
impl Hash for LayoutPreset
Source§impl Ord for LayoutPreset
impl Ord for LayoutPreset
Source§fn cmp(&self, other: &LayoutPreset) -> Ordering
fn cmp(&self, other: &LayoutPreset) -> 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 LayoutPreset
impl PartialEq for LayoutPreset
Source§impl PartialOrd for LayoutPreset
impl PartialOrd for LayoutPreset
impl Copy for LayoutPreset
impl Eq for LayoutPreset
impl StructuralPartialEq for LayoutPreset
Auto Trait Implementations§
impl Freeze for LayoutPreset
impl RefUnwindSafe for LayoutPreset
impl Send for LayoutPreset
impl Sync for LayoutPreset
impl Unpin for LayoutPreset
impl UnwindSafe for LayoutPreset
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.