pub struct FocusedKey {
pub entity: Entity,
pub key: Key,
pub modifiers: Modifiers,
pub repeat: bool,
}Expand description
Emitted by lumen-input on each KeyPressed when FocusTracker points at an entity; subscribe instead of KeyPressed for per-entity routing.
Fields§
§entity: EntityRecipient.
key: KeyLogical key.
modifiers: ModifiersModifier state.
repeat: boolOS-generated repeat.
Trait Implementations§
Source§impl Clone for FocusedKey
impl Clone for FocusedKey
Source§fn clone(&self) -> FocusedKey
fn clone(&self) -> FocusedKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FocusedKey
impl Debug for FocusedKey
impl Message for FocusedKey
Auto Trait Implementations§
impl Freeze for FocusedKey
impl RefUnwindSafe for FocusedKey
impl Send for FocusedKey
impl Sync for FocusedKey
impl Unpin for FocusedKey
impl UnsafeUnpin for FocusedKey
impl UnwindSafe for FocusedKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.