#[repr(C)]pub struct ble_gap_adv_properties_t {
pub type_: u8,
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
}
Expand description
@brief Advertising event properties.
Fields§
§type_: u8
< Advertising type. See @ref BLE_GAP_ADV_TYPES.
_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
Implementations§
source§impl ble_gap_adv_properties_t
impl ble_gap_adv_properties_t
pub fn anonymous(&self) -> u8
pub fn set_anonymous(&mut self, val: u8)
pub fn include_tx_power(&self) -> u8
pub fn set_include_tx_power(&mut self, val: u8)
pub fn new_bitfield_1(
anonymous: u8,
include_tx_power: u8
) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations§
source§impl Clone for ble_gap_adv_properties_t
impl Clone for ble_gap_adv_properties_t
source§fn clone(&self) -> ble_gap_adv_properties_t
fn clone(&self) -> ble_gap_adv_properties_t
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 more