Struct riot_sys::ble_gap_ext_disc_params
source · #[repr(C)]pub struct ble_gap_ext_disc_params {
pub itvl: u16,
pub window: u16,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: u8,
}
Expand description
@brief Extended discovery parameters
Fields§
§itvl: u16
Scan interval in 0.625ms units
window: u16
Scan window in 0.625ms units
_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: u8
Implementations§
source§impl ble_gap_ext_disc_params
impl ble_gap_ext_disc_params
pub fn passive(&self) -> u8
pub fn set_passive(&mut self, val: u8)
pub fn new_bitfield_1(passive: u8) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
source§impl Clone for ble_gap_ext_disc_params
impl Clone for ble_gap_ext_disc_params
source§fn clone(&self) -> ble_gap_ext_disc_params
fn clone(&self) -> ble_gap_ext_disc_params
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 ble_gap_ext_disc_params
impl Debug for ble_gap_ext_disc_params
source§impl Default for ble_gap_ext_disc_params
impl Default for ble_gap_ext_disc_params
source§fn default() -> ble_gap_ext_disc_params
fn default() -> ble_gap_ext_disc_params
Returns the “default value” for a type. Read more
impl Copy for ble_gap_ext_disc_params
Auto Trait Implementations§
impl RefUnwindSafe for ble_gap_ext_disc_params
impl Send for ble_gap_ext_disc_params
impl Sync for ble_gap_ext_disc_params
impl Unpin for ble_gap_ext_disc_params
impl UnwindSafe for ble_gap_ext_disc_params
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