Struct stm32wb_hci::vendor::stm32wb::event::AttributeHandle
source · pub struct AttributeHandle(pub u16);Expand description
Newtype for an attribute handle. These handles are IDs, not general integers, and should not be manipulated as such.
Tuple Fields§
§0: u16Trait Implementations§
source§impl Clone for AttributeHandle
impl Clone for AttributeHandle
source§fn clone(&self) -> AttributeHandle
fn clone(&self) -> AttributeHandle
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 AttributeHandle
impl Debug for AttributeHandle
source§impl Format for AttributeHandle
impl Format for AttributeHandle
source§impl PartialEq<AttributeHandle> for AttributeHandle
impl PartialEq<AttributeHandle> for AttributeHandle
source§fn eq(&self, other: &AttributeHandle) -> bool
fn eq(&self, other: &AttributeHandle) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for AttributeHandle
impl StructuralPartialEq for AttributeHandle
Auto Trait Implementations§
impl RefUnwindSafe for AttributeHandle
impl Send for AttributeHandle
impl Sync for AttributeHandle
impl Unpin for AttributeHandle
impl UnwindSafe for AttributeHandle
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