pub enum ImpactFeedbackStyle {
Light,
Medium,
Heavy,
Soft,
Rigid,
}Variants§
Trait Implementations§
source§impl Clone for ImpactFeedbackStyle
impl Clone for ImpactFeedbackStyle
source§fn clone(&self) -> ImpactFeedbackStyle
fn clone(&self) -> ImpactFeedbackStyle
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 ImpactFeedbackStyle
impl Debug for ImpactFeedbackStyle
source§impl Default for ImpactFeedbackStyle
impl Default for ImpactFeedbackStyle
source§fn default() -> ImpactFeedbackStyle
fn default() -> ImpactFeedbackStyle
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ImpactFeedbackStyle
impl<'de> Deserialize<'de> for ImpactFeedbackStyle
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 NamedType for ImpactFeedbackStyle
impl NamedType for ImpactFeedbackStyle
fn sid() -> SpectaID
source§fn named_data_type(
type_map: &mut TypeMap,
generics: &[DataType],
) -> NamedDataType
fn named_data_type( type_map: &mut TypeMap, generics: &[DataType], ) -> NamedDataType
this is equivalent to Type::inline but returns a NamedDataType instead.
source§fn definition_named_data_type(type_map: &mut TypeMap) -> NamedDataType
fn definition_named_data_type(type_map: &mut TypeMap) -> NamedDataType
this is equivalent to [Type::definition] but returns a NamedDataType instead.
source§impl PartialEq for ImpactFeedbackStyle
impl PartialEq for ImpactFeedbackStyle
source§impl Serialize for ImpactFeedbackStyle
impl Serialize for ImpactFeedbackStyle
source§impl Type for ImpactFeedbackStyle
impl Type for ImpactFeedbackStyle
source§fn inline(type_map: &mut TypeMap, generics: Generics<'_>) -> DataType
fn inline(type_map: &mut TypeMap, generics: Generics<'_>) -> DataType
Returns the definition of a type using the provided generics. Read more
source§fn reference(type_map: &mut TypeMap, generics: &[DataType]) -> Reference
fn reference(type_map: &mut TypeMap, generics: &[DataType]) -> Reference
Generates a datatype corresponding to a reference to this type,
as determined by its category. Getting a reference to a type implies that
it should belong in the type map (since it has to be referenced from somewhere),
so the output of
definition will be put into the type map.impl Eq for ImpactFeedbackStyle
impl StructuralPartialEq for ImpactFeedbackStyle
Auto Trait Implementations§
impl Freeze for ImpactFeedbackStyle
impl RefUnwindSafe for ImpactFeedbackStyle
impl Send for ImpactFeedbackStyle
impl Sync for ImpactFeedbackStyle
impl Unpin for ImpactFeedbackStyle
impl UnwindSafe for ImpactFeedbackStyle
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
source§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.