Be aware: Foundation will NEVER ask for your seed words, device PIN, or call you unexpectedly. If anyone does, it's a scam.

Struct

KeyPressed

pub struct KeyPressed(pub Option<Key>);

Tuple Fields

0: Option<Key>

Trait Implementations

impl AsScalar<4> for KeyPressed

fn as_scalar(&self) -> [u32; 4]

impl Debug for KeyPressed

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

impl FromScalar<4> for KeyPressed

fn from_scalar(value: [u32; 4]) -> Self

impl MessageId for KeyPressed

const ID: MessageId = 16usize

unique message identifier

const SERVER: &'static str = "os/gui-server"

target server name

impl Scalar for KeyPressed

fn to_message(&self) -> ScalarMessage
where 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 UnsafeUnpin for KeyPressed

impl UnwindSafe for KeyPressed