pub struct SetPeripheralId(/* private fields */);Available on crate feature
binary only.Expand description
A type that encodes compile time information about the Set Peripheral Id (66) command.
It is not publicly constructable. Use the SET_PERIPHERAL_ID constant.
Trait Implementations§
Source§impl Clone for SetPeripheralId
impl Clone for SetPeripheralId
Source§fn clone(&self) -> SetPeripheralId
fn clone(&self) -> SetPeripheralId
Returns a duplicate 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 Command for SetPeripheralId
impl Command for SetPeripheralId
Source§impl Data for SetPeripheralId
impl Data for SetPeripheralId
Source§impl Debug for SetPeripheralId
impl Debug for SetPeripheralId
Source§impl From<SetPeripheralId> for u8
impl From<SetPeripheralId> for u8
Source§fn from(_: SetPeripheralId) -> u8
fn from(_: SetPeripheralId) -> u8
Converts to this type from the input type.
Source§impl PartialEq<SetPeripheralId> for u8
impl PartialEq<SetPeripheralId> for u8
Source§impl PartialEq<u8> for SetPeripheralId
impl PartialEq<u8> for SetPeripheralId
Source§impl PartialEq for SetPeripheralId
impl PartialEq for SetPeripheralId
Source§impl TryFrom<u8> for SetPeripheralId
impl TryFrom<u8> for SetPeripheralId
impl Copy for SetPeripheralId
impl Eq for SetPeripheralId
impl ReplyData<i32> for SetPeripheralId
impl SetOrReturnCommand for SetPeripheralId
impl StructuralPartialEq for SetPeripheralId
impl TakesData<SetPeripheralId> for ReturnSetting
impl TakesData<i32> for SetPeripheralId
Auto Trait Implementations§
impl Freeze for SetPeripheralId
impl RefUnwindSafe for SetPeripheralId
impl Send for SetPeripheralId
impl Sync for SetPeripheralId
impl Unpin for SetPeripheralId
impl UnwindSafe for SetPeripheralId
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