Struct stm32wb_hci::Opcode
source · pub struct Opcode(pub u16);
Expand description
Newtype wrapper for a Bluetooth Opcode. Opcodes are used to indicate which command to send to the Controller as well as which command results are returned by the Command Complete and Command Status events.
Tuple Fields§
§0: u16
Implementations§
Trait Implementations§
source§impl PartialEq for Opcode
impl PartialEq for Opcode
impl Copy for Opcode
impl Eq for Opcode
impl StructuralEq for Opcode
impl StructuralPartialEq for Opcode
Auto Trait Implementations§
impl RefUnwindSafe for Opcode
impl Send for Opcode
impl Sync for Opcode
impl Unpin for Opcode
impl UnwindSafe for Opcode
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