pub struct KeyPressed(pub Option<Key>);Tuple Fields§
§0: Option<Key>Trait Implementations§
Source§impl Debug for KeyPressed
impl Debug for KeyPressed
Source§impl FromScalar<4> for KeyPressed
impl FromScalar<4> for KeyPressed
fn from_scalar(value: [u32; 4]) -> Self
Source§impl MessageId for KeyPressed
impl MessageId for KeyPressed
Source§impl Scalar for KeyPressed
impl Scalar for KeyPressed
fn to_message(&self) -> ScalarMessagewhere
Self: Sized,
Auto Trait Implementations§
impl Freeze for KeyPressed
impl RefUnwindSafe for KeyPressed
impl Send for KeyPressed
impl Sync for KeyPressed
impl Unpin for KeyPressed
impl UnwindSafe for KeyPressed
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.