pub struct KeyData {
pub key: Key,
pub key_state: KeyState,
}Expand description
height-level key data wrapper
Fields§
§key: Key§key_state: KeyStateImplementations§
Trait Implementations§
Source§impl From<KeyData> for RawKeyData
reverse conversion to C struct
impl From<KeyData> for RawKeyData
reverse conversion to C struct
Source§impl From<RawKeyData> for KeyData
forward conversion to Rust struct
impl From<RawKeyData> for KeyData
forward conversion to Rust struct
Source§fn from(raw: RawKeyData) -> Self
fn from(raw: RawKeyData) -> Self
Converts to this type from the input type.
impl Copy for KeyData
Auto Trait Implementations§
impl Freeze for KeyData
impl RefUnwindSafe for KeyData
impl Send for KeyData
impl Sync for KeyData
impl Unpin for KeyData
impl UnwindSafe for KeyData
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