#[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_1: __BindgenBitfieldUnit<[u8; 1], u8>,
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_1: __BindgenBitfieldUnit<[u8; 1], u8>§__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], u8>
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
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