Struct stm32wb_hci::ConnectionHandle
source · pub struct ConnectionHandle(pub u16);
Expand description
Newtype for a connection handle.
Tuple Fields§
§0: u16
Trait Implementations§
source§impl Clone for ConnectionHandle
impl Clone for ConnectionHandle
source§fn clone(&self) -> ConnectionHandle
fn clone(&self) -> ConnectionHandle
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 ConnectionHandle
impl Debug for ConnectionHandle
source§impl PartialEq<ConnectionHandle> for ConnectionHandle
impl PartialEq<ConnectionHandle> for ConnectionHandle
source§fn eq(&self, other: &ConnectionHandle) -> bool
fn eq(&self, other: &ConnectionHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ConnectionHandle
impl StructuralPartialEq for ConnectionHandle
Auto Trait Implementations§
impl RefUnwindSafe for ConnectionHandle
impl Send for ConnectionHandle
impl Sync for ConnectionHandle
impl Unpin for ConnectionHandle
impl UnwindSafe for ConnectionHandle
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