Enum accesskit::DropEffect
source · [−]pub enum DropEffect {
Copy,
Execute,
Link,
Move,
Popup,
}
Expand description
Function that can be performed when a dragged object is released on a drop target.
Note: aria-dropeffect
is deprecated in WAI-ARIA 1.1.
Variants
Copy
Execute
Link
Move
Popup
Trait Implementations
sourceimpl<O: Into<EnumSet<DropEffect>>> BitAnd<O> for DropEffect
impl<O: Into<EnumSet<DropEffect>>> BitAnd<O> for DropEffect
sourceimpl<O: Into<EnumSet<DropEffect>>> BitOr<O> for DropEffect
impl<O: Into<EnumSet<DropEffect>>> BitOr<O> for DropEffect
sourceimpl<O: Into<EnumSet<DropEffect>>> BitXor<O> for DropEffect
impl<O: Into<EnumSet<DropEffect>>> BitXor<O> for DropEffect
sourceimpl Clone for DropEffect
impl Clone for DropEffect
sourceimpl Debug for DropEffect
impl Debug for DropEffect
sourceimpl<'de> Deserialize<'de> for DropEffect
impl<'de> Deserialize<'de> for DropEffect
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl EnumSetTypePrivate for DropEffect
impl EnumSetTypePrivate for DropEffect
sourceconst ALL_BITS: Self::Repr = {transmute(0x1f): <DropEffect as enumset::__internal::EnumSetTypePrivate>::Repr}
const ALL_BITS: Self::Repr = {transmute(0x1f): <DropEffect as enumset::__internal::EnumSetTypePrivate>::Repr}
A mask of bits that are valid in the bitset.
sourcefn enum_into_u32(self) -> u32
fn enum_into_u32(self) -> u32
Converts an enum of this type into its bit position.
sourceunsafe fn enum_from_u32(val: u32) -> Self
unsafe fn enum_from_u32(val: u32) -> Self
Converts a bit position into an enum value.
sourcefn serialize<S: Serializer>(
set: EnumSet<DropEffect>,
ser: S
) -> Result<S::Ok, S::Error>
fn serialize<S: Serializer>(
set: EnumSet<DropEffect>,
ser: S
) -> Result<S::Ok, S::Error>
Serializes the
EnumSet
. Read moresourcefn deserialize<'de, D: Deserializer<'de>>(
de: D
) -> Result<EnumSet<DropEffect>, D::Error>
fn deserialize<'de, D: Deserializer<'de>>(
de: D
) -> Result<EnumSet<DropEffect>, D::Error>
Deserializes the
EnumSet
.sourceimpl JsonSchema for DropEffect
impl JsonSchema for DropEffect
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresourceimpl Not for DropEffect
impl Not for DropEffect
sourceimpl PartialEq<DropEffect> for DropEffect
impl PartialEq<DropEffect> for DropEffect
sourceimpl PartialEq<EnumSet<DropEffect>> for DropEffect
impl PartialEq<EnumSet<DropEffect>> for DropEffect
sourcefn eq(&self, other: &EnumSet<DropEffect>) -> bool
fn eq(&self, other: &EnumSet<DropEffect>) -> bool
sourceimpl Serialize for DropEffect
impl Serialize for DropEffect
sourceimpl<O: Into<EnumSet<DropEffect>>> Sub<O> for DropEffect
impl<O: Into<EnumSet<DropEffect>>> Sub<O> for DropEffect
impl Copy for DropEffect
impl EnumSetType for DropEffect
impl Eq for DropEffect
Auto Trait Implementations
impl RefUnwindSafe for DropEffect
impl Send for DropEffect
impl Sync for DropEffect
impl Unpin for DropEffect
impl UnwindSafe for DropEffect
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more