#[non_exhaustive]pub struct ReceiverInfo {
pub serial_number: String,
pub pairing_slots: u8,
}Expand description
Represents some general information about a Unifying receiver.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.serial_number: StringReceiver serial number.
pairing_slots: u8Number of available pairing slots.
Trait Implementations§
Source§impl Clone for ReceiverInfo
impl Clone for ReceiverInfo
Source§fn clone(&self) -> ReceiverInfo
fn clone(&self) -> ReceiverInfo
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 ReceiverInfo
impl Debug for ReceiverInfo
impl Eq for ReceiverInfo
Source§impl Hash for ReceiverInfo
impl Hash for ReceiverInfo
Source§impl PartialEq for ReceiverInfo
impl PartialEq for ReceiverInfo
impl StructuralPartialEq for ReceiverInfo
Auto Trait Implementations§
impl Freeze for ReceiverInfo
impl RefUnwindSafe for ReceiverInfo
impl Send for ReceiverInfo
impl Sync for ReceiverInfo
impl Unpin for ReceiverInfo
impl UnsafeUnpin for ReceiverInfo
impl UnwindSafe for ReceiverInfo
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