#[repr(C, packed(1))]pub struct dir_adv_report {
pub type_: u8,
pub addr_type: u8,
pub addr: [u8; 6],
pub dir_addr_type: u8,
pub dir_addr: [u8; 6],
pub rssi: i8,
}
Fields§
§type_: u8
§addr_type: u8
§addr: [u8; 6]
§dir_addr_type: u8
§dir_addr: [u8; 6]
§rssi: i8
Trait Implementations§
Source§impl Clone for dir_adv_report
impl Clone for dir_adv_report
Source§fn clone(&self) -> dir_adv_report
fn clone(&self) -> dir_adv_report
Returns a copy of the value. Read more
1.0.0 · 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 dir_adv_report
impl Debug for dir_adv_report
Source§impl Default for dir_adv_report
impl Default for dir_adv_report
Source§fn default() -> dir_adv_report
fn default() -> dir_adv_report
Returns the “default value” for a type. Read more
impl Copy for dir_adv_report
Auto Trait Implementations§
impl Freeze for dir_adv_report
impl RefUnwindSafe for dir_adv_report
impl Send for dir_adv_report
impl Sync for dir_adv_report
impl Unpin for dir_adv_report
impl UnwindSafe for dir_adv_report
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes