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§
Trait Implementations§
source§impl<O: Into<EnumSet<DropEffect>>> BitAnd<O> for DropEffect
impl<O: Into<EnumSet<DropEffect>>> BitAnd<O> for DropEffect
source§impl<O: Into<EnumSet<DropEffect>>> BitOr<O> for DropEffect
impl<O: Into<EnumSet<DropEffect>>> BitOr<O> for DropEffect
source§impl<O: Into<EnumSet<DropEffect>>> BitXor<O> for DropEffect
impl<O: Into<EnumSet<DropEffect>>> BitXor<O> for DropEffect
source§impl Clone for DropEffect
impl Clone for DropEffect
source§impl Debug for DropEffect
impl Debug for DropEffect
source§impl<'de> Deserialize<'de> for DropEffect
impl<'de> Deserialize<'de> for DropEffect
source§fn 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
source§impl EnumSetTypePrivate for DropEffect
impl EnumSetTypePrivate for DropEffect
source§const 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.
source§fn enum_into_u32(self) -> u32
fn enum_into_u32(self) -> u32
Converts an enum of this type into its bit position.
source§unsafe fn enum_from_u32(val: u32) -> Self
unsafe fn enum_from_u32(val: u32) -> Self
Converts a bit position into an enum value.
source§fn 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 moresource§fn 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.source§impl JsonSchema for DropEffect
impl JsonSchema for DropEffect
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn 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 more