pub struct CCCD(/* private fields */);
Expand description
CCCD flag.
Implementations§
Source§impl CCCD
impl CCCD
Sourcepub fn set_notify(&mut self, is_enabled: bool)
pub fn set_notify(&mut self, is_enabled: bool)
Enable or disable notifications
Sourcepub fn should_notify(&self) -> bool
pub fn should_notify(&self) -> bool
Check if notifications are enabled
Trait Implementations§
impl Copy for CCCD
Auto Trait Implementations§
impl Freeze for CCCD
impl RefUnwindSafe for CCCD
impl Send for CCCD
impl Sync for CCCD
impl Unpin for CCCD
impl UnwindSafe for 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