pub enum ScenarioPointerButton {
Primary,
Secondary,
Middle,
}Expand description
Pointer button identifier for scenario events.
Variants§
Trait Implementations§
Source§impl Clone for ScenarioPointerButton
impl Clone for ScenarioPointerButton
Source§fn clone(&self) -> ScenarioPointerButton
fn clone(&self) -> ScenarioPointerButton
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ScenarioPointerButton
Source§impl Debug for ScenarioPointerButton
impl Debug for ScenarioPointerButton
Source§impl Default for ScenarioPointerButton
impl Default for ScenarioPointerButton
Source§fn default() -> ScenarioPointerButton
fn default() -> ScenarioPointerButton
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScenarioPointerButton
impl<'de> Deserialize<'de> for ScenarioPointerButton
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
impl Eq for ScenarioPointerButton
Source§impl PartialEq for ScenarioPointerButton
impl PartialEq for ScenarioPointerButton
Source§impl Serialize for ScenarioPointerButton
impl Serialize for ScenarioPointerButton
impl StructuralPartialEq for ScenarioPointerButton
Auto Trait Implementations§
impl Freeze for ScenarioPointerButton
impl RefUnwindSafe for ScenarioPointerButton
impl Send for ScenarioPointerButton
impl Sync for ScenarioPointerButton
impl Unpin for ScenarioPointerButton
impl UnsafeUnpin for ScenarioPointerButton
impl UnwindSafe for ScenarioPointerButton
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