pub struct ControlCommandIdentifier(/* private fields */);Implementations§
Source§impl ControlCommandIdentifier
impl ControlCommandIdentifier
pub const fn new<I, O>( direction: ControlDirectionFlags, kind: u8, number: u8, ) -> Self
pub const fn new_read<I, O>(kind: u8, number: u8) -> Self
pub const fn new_write<I, O>(kind: u8, number: u8) -> Self
pub const fn new_with_size( direction: ControlDirectionFlags, size: usize, kind: u8, number: u8, ) -> Self
pub const fn get_direction(&self) -> ControlDirectionFlags
pub const fn get_size(&self) -> usize
pub const fn get_kind(&self) -> u8
pub const fn get_number(&self) -> u8
Trait Implementations§
Source§impl Clone for ControlCommandIdentifier
impl Clone for ControlCommandIdentifier
Source§fn clone(&self) -> ControlCommandIdentifier
fn clone(&self) -> ControlCommandIdentifier
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 Debug for ControlCommandIdentifier
impl Debug for ControlCommandIdentifier
Source§impl PartialEq for ControlCommandIdentifier
impl PartialEq for ControlCommandIdentifier
impl Copy for ControlCommandIdentifier
impl Eq for ControlCommandIdentifier
impl StructuralPartialEq for ControlCommandIdentifier
Auto Trait Implementations§
impl Freeze for ControlCommandIdentifier
impl RefUnwindSafe for ControlCommandIdentifier
impl Send for ControlCommandIdentifier
impl Sync for ControlCommandIdentifier
impl Unpin for ControlCommandIdentifier
impl UnwindSafe for ControlCommandIdentifier
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