Struct tauri_hotkey::Hotkey[][src]

pub struct Hotkey {
    pub modifiers: Vec<Modifier>,
    pub keys: Vec<Key>,
}

Fields

modifiers: Vec<Modifier>keys: Vec<Key>

Implementations

impl Hotkey[src]

pub fn modifiers_as_flag(&self) -> u32[src]

pub fn keys_as_flag(&self) -> u32[src]

Trait Implementations

impl Clone for Hotkey[src]

impl Debug for Hotkey[src]

impl<'de> Deserialize<'de> for Hotkey[src]

impl Display for Hotkey[src]

impl Eq for Hotkey[src]

impl Hash for Hotkey[src]

impl PartialEq<Hotkey> for Hotkey[src]

impl Serialize for Hotkey[src]

impl StructuralEq for Hotkey[src]

impl StructuralPartialEq for Hotkey[src]

Auto Trait Implementations

impl RefUnwindSafe for Hotkey

impl Send for Hotkey

impl Sync for Hotkey

impl Unpin for Hotkey

impl UnwindSafe for Hotkey

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.