pub struct AnchorMode(pub i64);Tuple Fields§
§0: i64Implementations§
Source§impl AnchorMode
impl AnchorMode
pub const FIXED_TOP_LEFT: AnchorMode
pub const DRAG_CENTER: AnchorMode
Trait Implementations§
Source§impl Clone for AnchorMode
impl Clone for AnchorMode
Source§fn clone(&self) -> AnchorMode
fn clone(&self) -> AnchorMode
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 AnchorMode
impl Debug for AnchorMode
Source§impl From<AnchorMode> for i64
impl From<AnchorMode> for i64
Source§fn from(v: AnchorMode) -> Self
fn from(v: AnchorMode) -> Self
Converts to this type from the input type.
Source§impl From<i64> for AnchorMode
impl From<i64> for AnchorMode
Source§impl FromVariant for AnchorMode
impl FromVariant for AnchorMode
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for AnchorMode
impl Hash for AnchorMode
Source§impl Ord for AnchorMode
impl Ord for AnchorMode
Source§fn cmp(&self, other: &AnchorMode) -> Ordering
fn cmp(&self, other: &AnchorMode) -> 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 AnchorMode
impl PartialEq for AnchorMode
Source§impl PartialOrd for AnchorMode
impl PartialOrd for AnchorMode
impl Copy for AnchorMode
impl Eq for AnchorMode
impl StructuralPartialEq for AnchorMode
Auto Trait Implementations§
impl Freeze for AnchorMode
impl RefUnwindSafe for AnchorMode
impl Send for AnchorMode
impl Sync for AnchorMode
impl Unpin for AnchorMode
impl UnwindSafe for AnchorMode
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.