pub enum DragCancelReason {
NoTarget,
UserCancelled,
Error,
// some variants omitted
}
Variants§
Trait Implementations§
Source§impl Clone for DragCancelReason
impl Clone for DragCancelReason
Source§fn clone(&self) -> DragCancelReason
fn clone(&self) -> DragCancelReason
Returns a copy 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 DragCancelReason
impl Debug for DragCancelReason
Source§impl Display for DragCancelReason
impl Display for DragCancelReason
Source§impl<'a> FromValue<'a> for DragCancelReason
impl<'a> FromValue<'a> for DragCancelReason
unsafe fn from_value(value: &Value) -> Self
Source§impl<'a> FromValueOptional<'a> for DragCancelReason
impl<'a> FromValueOptional<'a> for DragCancelReason
unsafe fn from_value_optional(value: &Value) -> Option<Self>
Source§impl Hash for DragCancelReason
impl Hash for DragCancelReason
Source§impl Ord for DragCancelReason
impl Ord for DragCancelReason
Source§fn cmp(&self, other: &DragCancelReason) -> Ordering
fn cmp(&self, other: &DragCancelReason) -> 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 DragCancelReason
impl PartialEq for DragCancelReason
Source§impl PartialOrd for DragCancelReason
impl PartialOrd for DragCancelReason
Source§impl StaticType for DragCancelReason
impl StaticType for DragCancelReason
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Copy for DragCancelReason
impl Eq for DragCancelReason
impl StructuralPartialEq for DragCancelReason
Auto Trait Implementations§
impl Freeze for DragCancelReason
impl RefUnwindSafe for DragCancelReason
impl Send for DragCancelReason
impl Sync for DragCancelReason
impl Unpin for DragCancelReason
impl UnwindSafe for DragCancelReason
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<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.