#[repr(C, align(4))]pub struct ble_store_value_cccd {
pub peer_addr: ble_addr_t,
pub chr_val_handle: u16,
pub flags: u16,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 3],
}
Expand description
Represents a stored client characteristic configuration descriptor (CCCD). This struct corresponds to the BLE_STORE_OBJ_TYPE_CCCD store object type.
Fields§
§peer_addr: ble_addr_t
§chr_val_handle: u16
§flags: u16
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 3]
Implementations§
Source§impl ble_store_value_cccd
impl ble_store_value_cccd
pub fn value_changed(&self) -> c_uint
pub fn set_value_changed(&mut self, val: c_uint)
pub fn new_bitfield_1(value_changed: c_uint) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for ble_store_value_cccd
impl Clone for ble_store_value_cccd
Source§fn clone(&self) -> ble_store_value_cccd
fn clone(&self) -> ble_store_value_cccd
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_store_value_cccd
impl Debug for ble_store_value_cccd
Source§impl Default for ble_store_value_cccd
impl Default for ble_store_value_cccd
Source§fn default() -> ble_store_value_cccd
fn default() -> ble_store_value_cccd
Returns the “default value” for a type. Read more
impl Copy for ble_store_value_cccd
Auto Trait Implementations§
impl Freeze for ble_store_value_cccd
impl RefUnwindSafe for ble_store_value_cccd
impl Send for ble_store_value_cccd
impl Sync for ble_store_value_cccd
impl Unpin for ble_store_value_cccd
impl UnwindSafe for ble_store_value_cccd
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,
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