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