pub struct SimulateKey {
pub key: Key,
pub is_pressed: bool,
}Fields§
§key: Key§is_pressed: boolTrait Implementations§
Source§impl Debug for SimulateKey
impl Debug for SimulateKey
Source§impl FromScalar<4> for SimulateKey
impl FromScalar<4> for SimulateKey
fn from_scalar([k1, k2, is_pressed, _]: [u32; 4]) -> Self
Source§impl MessageId for SimulateKey
impl MessageId for SimulateKey
Source§impl Scalar for SimulateKey
impl Scalar for SimulateKey
fn to_message(&self) -> ScalarMessagewhere
Self: Sized,
Auto Trait Implementations§
impl Freeze for SimulateKey
impl RefUnwindSafe for SimulateKey
impl Send for SimulateKey
impl Sync for SimulateKey
impl Unpin for SimulateKey
impl UnwindSafe for SimulateKey
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.