pub struct KeyEventMessage {
pub base: InputEventMessageBase,
pub is_down: bool,
pub key: Key,
pub physical_key: PhysicalKey,
pub key_symbol: Option<String>,
}Fields§
§base: InputEventMessageBase§is_down: bool§key: Key§physical_key: PhysicalKey§key_symbol: Option<String>Implementations§
Trait Implementations§
Source§impl BsonObject for KeyEventMessage
impl BsonObject for KeyEventMessage
Source§fn get_property_value(&self, index: usize) -> ValueRef<'_>
fn get_property_value(&self, index: usize) -> ValueRef<'_>
Reads the property with the given index in
ClassType::properties.Source§fn set_property_value(
&mut self,
index: usize,
value: Value,
) -> Result<(), Error>
fn set_property_value( &mut self, index: usize, value: Value, ) -> Result<(), Error>
Assigns the property with the given index. The value is cast to the
type of the property; one of another type is an
InvalidCastException.Source§fn clone_object(&self) -> Box<dyn BsonObject>
fn clone_object(&self) -> Box<dyn BsonObject>
A copy of the object behind a new handle.
Source§fn equals(&self, other: &dyn BsonObject) -> bool
fn equals(&self, other: &dyn BsonObject) -> bool
Whether the other object is of the same class and has equal
properties.
fn as_any(&self) -> &dyn Any
fn into_any(self: Box<Self>) -> Box<dyn Any + Send + Sync>
Source§fn as_expando(&mut self) -> Option<&mut dyn IExpando>
fn as_expando(&mut self) -> Option<&mut dyn IExpando>
instance as IExpando.Source§impl BsonValue for KeyEventMessage
impl BsonValue for KeyEventMessage
Source§impl Clone for KeyEventMessage
impl Clone for KeyEventMessage
Source§impl Debug for KeyEventMessage
impl Debug for KeyEventMessage
Source§impl Default for KeyEventMessage
impl Default for KeyEventMessage
Source§impl Deref for KeyEventMessage
impl Deref for KeyEventMessage
Source§type Target = InputEventMessageBase
type Target = InputEventMessageBase
The resulting type after dereferencing.
Source§fn deref(&self) -> &InputEventMessageBase
fn deref(&self) -> &InputEventMessageBase
Dereferences the value.
Source§impl DerefMut for KeyEventMessage
impl DerefMut for KeyEventMessage
Source§fn deref_mut(&mut self) -> &mut InputEventMessageBase
fn deref_mut(&mut self) -> &mut InputEventMessageBase
Mutably dereferences the value.
Source§impl FerroRemoteMessage for KeyEventMessage
impl FerroRemoteMessage for KeyEventMessage
Source§impl PartialEq for KeyEventMessage
impl PartialEq for KeyEventMessage
impl StructuralPartialEq for KeyEventMessage
Auto Trait Implementations§
impl Freeze for KeyEventMessage
impl RefUnwindSafe for KeyEventMessage
impl Send for KeyEventMessage
impl Sync for KeyEventMessage
impl Unpin for KeyEventMessage
impl UnsafeUnpin for KeyEventMessage
impl UnwindSafe for KeyEventMessage
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