pub enum ElementState {
Pressed,
Released,
}Variants§
Trait Implementations§
Source§impl Clone for ElementState
impl Clone for ElementState
Source§fn clone(&self) -> ElementState
fn clone(&self) -> ElementState
Returns a duplicate 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 ElementState
impl Debug for ElementState
Source§impl<'de> Deserialize<'de> for ElementState
impl<'de> Deserialize<'de> for ElementState
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ElementState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ElementState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Into<IntersticeValue> for ElementState
impl Into<IntersticeValue> for ElementState
Source§fn into(self) -> IntersticeValue
fn into(self) -> IntersticeValue
Converts this type into the (usually inferred) input type.
Source§impl Serialize for ElementState
impl Serialize for ElementState
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<IntersticeValue> for ElementState
impl TryFrom<IntersticeValue> for ElementState
Source§fn try_from(
value: IntersticeValue,
) -> Result<ElementState, <ElementState as TryFrom<IntersticeValue>>::Error>
fn try_from( value: IntersticeValue, ) -> Result<ElementState, <ElementState as TryFrom<IntersticeValue>>::Error>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ElementState
impl RefUnwindSafe for ElementState
impl Send for ElementState
impl Sync for ElementState
impl Unpin for ElementState
impl UnwindSafe for ElementState
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