[−][src]Enum druid_shell::KeyCompare
Something that can be compared with a keyboard key.
Variants
Code(KeyCode)Text(&'static str)Trait Implementations
impl Clone for KeyCompare[src]
fn clone(&self) -> KeyCompare[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for KeyCompare[src]
impl From<&'static str> for KeyCompare[src]
fn from(src: &'static str) -> KeyCompare[src]
impl From<KeyCode> for KeyCompare[src]
fn from(src: KeyCode) -> KeyCompare[src]
impl PartialEq<KeyCompare> for KeyCompare[src]
fn eq(&self, other: &KeyCompare) -> bool[src]
fn ne(&self, other: &KeyCompare) -> bool[src]
impl StructuralPartialEq for KeyCompare[src]
Auto Trait Implementations
impl RefUnwindSafe for KeyCompare
impl Send for KeyCompare
impl Sync for KeyCompare
impl Unpin for KeyCompare
impl UnwindSafe for KeyCompare
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> RoundFrom<T> for T
fn round_from(x: T) -> T
impl<T, U> RoundInto<U> for T where
U: RoundFrom<T>,
U: RoundFrom<T>,
fn round_into(self) -> U
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,