pub struct StdinKeyModifiers {
pub shift: bool,
pub control: bool,
pub alt: bool,
pub logo: bool,
}
Fields§
§shift: bool
§control: bool
§alt: bool
§logo: bool
Implementations§
Source§impl StdinKeyModifiers
impl StdinKeyModifiers
pub fn into_key_modifiers(&self) -> KeyModifiers
pub fn from_key_modifiers(km: &KeyModifiers) -> StdinKeyModifiers
Trait Implementations§
Source§impl Clone for StdinKeyModifiers
impl Clone for StdinKeyModifiers
Source§fn clone(&self) -> StdinKeyModifiers
fn clone(&self) -> StdinKeyModifiers
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 DeBin for StdinKeyModifiers
impl DeBin for StdinKeyModifiers
Source§impl DeJson for StdinKeyModifiers
impl DeJson for StdinKeyModifiers
fn de_json( s: &mut DeJsonState, i: &mut Chars<'_>, ) -> Result<StdinKeyModifiers, DeJsonErr>
fn deserialize_json(input: &str) -> Result<Self, DeJsonErr>
Source§impl Debug for StdinKeyModifiers
impl Debug for StdinKeyModifiers
Source§impl Default for StdinKeyModifiers
impl Default for StdinKeyModifiers
Source§fn default() -> StdinKeyModifiers
fn default() -> StdinKeyModifiers
Returns the “default value” for a type. Read more
Source§impl PartialEq for StdinKeyModifiers
impl PartialEq for StdinKeyModifiers
Source§impl SerBin for StdinKeyModifiers
impl SerBin for StdinKeyModifiers
Source§impl SerJson for StdinKeyModifiers
impl SerJson for StdinKeyModifiers
fn ser_json(&self, d: usize, s: &mut SerJsonState)
fn serialize_json(&self) -> String
impl Copy for StdinKeyModifiers
impl StructuralPartialEq for StdinKeyModifiers
Auto Trait Implementations§
impl Freeze for StdinKeyModifiers
impl RefUnwindSafe for StdinKeyModifiers
impl Send for StdinKeyModifiers
impl Sync for StdinKeyModifiers
impl Unpin for StdinKeyModifiers
impl UnwindSafe for StdinKeyModifiers
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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