pub struct KeypressNotification {
pub bd_addr: BdAddr,
pub notification_type: KeypressNotificationType,
}Expand description
Keypress Notification event ๐
Fieldsยง
ยงbd_addr: BdAddrbd_addr
notification_type: KeypressNotificationTypenotification_type
Trait Implementationsยง
Sourceยงimpl Clone for KeypressNotification
impl Clone for KeypressNotification
Sourceยงfn clone(&self) -> KeypressNotification
fn clone(&self) -> KeypressNotification
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 KeypressNotification
impl Debug for KeypressNotification
Sourceยงimpl<'a> EventParams<'a> for KeypressNotification
impl<'a> EventParams<'a> for KeypressNotification
Sourceยงconst EVENT_CODE: u8 = 0x3c
const EVENT_CODE: u8 = 0x3c
The event code these parameters are for
Sourceยงimpl<'a> FromHciBytes<'a> for KeypressNotification
impl<'a> FromHciBytes<'a> for KeypressNotification
Sourceยงfn from_hci_bytes(data: &'a [u8]) -> Result<(Self, &'a [u8]), FromHciBytesError>
fn from_hci_bytes(data: &'a [u8]) -> Result<(Self, &'a [u8]), FromHciBytesError>
Deserialize bytes into a HCI type, return additional bytes.
Sourceยงfn from_hci_bytes_complete(data: &'de [u8]) -> Result<Self, FromHciBytesError>
fn from_hci_bytes_complete(data: &'de [u8]) -> Result<Self, FromHciBytesError>
Deserialize bytes into a HCI type, must consume all bytes.
Sourceยงimpl Hash for KeypressNotification
impl Hash for KeypressNotification
impl Copy for KeypressNotification
Auto Trait Implementationsยง
impl Freeze for KeypressNotification
impl RefUnwindSafe for KeypressNotification
impl Send for KeypressNotification
impl Sync for KeypressNotification
impl Unpin for KeypressNotification
impl UnsafeUnpin for KeypressNotification
impl UnwindSafe for KeypressNotification
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