[−][src]Struct nrf_softdevice_s132::ble_gap_adv_report_type_t
@brief Advertising report type.
Fields
_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u16>
Implementations
impl ble_gap_adv_report_type_t
[src]
pub fn connectable(&self) -> u16
[src]
pub fn set_connectable(&mut self, val: u16)
[src]
pub fn scannable(&self) -> u16
[src]
pub fn set_scannable(&mut self, val: u16)
[src]
pub fn directed(&self) -> u16
[src]
pub fn set_directed(&mut self, val: u16)
[src]
pub fn scan_response(&self) -> u16
[src]
pub fn set_scan_response(&mut self, val: u16)
[src]
pub fn extended_pdu(&self) -> u16
[src]
pub fn set_extended_pdu(&mut self, val: u16)
[src]
pub fn status(&self) -> u16
[src]
pub fn set_status(&mut self, val: u16)
[src]
pub fn reserved(&self) -> u16
[src]
pub fn set_reserved(&mut self, val: u16)
[src]
pub fn new_bitfield_1(
connectable: u16,
scannable: u16,
directed: u16,
scan_response: u16,
extended_pdu: u16,
status: u16,
reserved: u16
) -> __BindgenBitfieldUnit<[u8; 2], u16>
[src]
connectable: u16,
scannable: u16,
directed: u16,
scan_response: u16,
extended_pdu: u16,
status: u16,
reserved: u16
) -> __BindgenBitfieldUnit<[u8; 2], u16>
Trait Implementations
impl Clone for ble_gap_adv_report_type_t
[src]
fn clone(&self) -> ble_gap_adv_report_type_t
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ble_gap_adv_report_type_t
[src]
impl Debug for ble_gap_adv_report_type_t
[src]
Auto Trait Implementations
impl Send for ble_gap_adv_report_type_t
impl Sync for ble_gap_adv_report_type_t
impl Unpin for ble_gap_adv_report_type_t
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,