[−][src]Struct terminal_input::Modifiers
The set of modifier keys (e.g. Ctrl, Alt, and Shift) that were pressed at the time of an event. Represented as an opaque bitmap to allow for extension with other keys, such as a Meta or Command key.
Implementations
impl Modifiers
[src]
pub const NONE: Modifiers
[src]
pub const SHIFT: Modifiers
[src]
pub const ALT: Modifiers
[src]
pub const CTRL: Modifiers
[src]
pub const fn remove(self, other: Modifiers) -> Modifiers
[src]
pub const fn bitor(self, other: Modifiers) -> Modifiers
[src]
pub const fn bitand(self, other: Modifiers) -> Modifiers
[src]
pub const fn eq(&self, other: &Modifiers) -> bool
[src]
Trait Implementations
impl BitAnd<Modifiers> for Modifiers
[src]
type Output = Modifiers
The resulting type after applying the &
operator.
fn bitand(self, other: Modifiers) -> Modifiers
[src]
impl BitOr<Modifiers> for Modifiers
[src]
type Output = Modifiers
The resulting type after applying the |
operator.
fn bitor(self, other: Modifiers) -> Modifiers
[src]
impl Clone for Modifiers
[src]
impl Copy for Modifiers
[src]
impl Debug for Modifiers
[src]
impl Eq for Modifiers
[src]
impl PartialEq<Modifiers> for Modifiers
[src]
impl StructuralEq for Modifiers
[src]
impl StructuralPartialEq for Modifiers
[src]
Auto Trait Implementations
impl RefUnwindSafe for Modifiers
impl Send for Modifiers
impl Sync for Modifiers
impl Unpin for Modifiers
impl UnwindSafe for Modifiers
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> 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>,