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