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