#[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 unsafe fn value_changed_raw(this: *const Self) -> c_uint
pub unsafe fn set_value_changed_raw(this: *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§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§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)