#[repr(transparent)]pub struct Abstractcmd(pub u32);
Expand description
Abstract command
Tuple Fields§
§0: u32
Implementations§
Source§impl Abstractcmd
impl Abstractcmd
Sourcepub const fn control(&self) -> u32
pub const fn control(&self) -> u32
This Field is interpreted in a command specific manner, described for each abstract command.
Sourcepub fn set_control(&mut self, val: u32)
pub fn set_control(&mut self, val: u32)
This Field is interpreted in a command specific manner, described for each abstract command.
Sourcepub const fn cmdtype(&self) -> Cmdtype
pub const fn cmdtype(&self) -> Cmdtype
The type determines the overall functionality of this abstract command.
Sourcepub fn set_cmdtype(&mut self, val: Cmdtype)
pub fn set_cmdtype(&mut self, val: Cmdtype)
The type determines the overall functionality of this abstract command.
Trait Implementations§
Source§impl Clone for Abstractcmd
impl Clone for Abstractcmd
Source§fn clone(&self) -> Abstractcmd
fn clone(&self) -> Abstractcmd
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 Default for Abstractcmd
impl Default for Abstractcmd
Source§fn default() -> Abstractcmd
fn default() -> Abstractcmd
Returns the “default value” for a type. Read more
Source§impl PartialEq for Abstractcmd
impl PartialEq for Abstractcmd
impl Copy for Abstractcmd
impl Eq for Abstractcmd
impl StructuralPartialEq for Abstractcmd
Auto Trait Implementations§
impl Freeze for Abstractcmd
impl RefUnwindSafe for Abstractcmd
impl Send for Abstractcmd
impl Sync for Abstractcmd
impl Unpin for Abstractcmd
impl UnwindSafe for Abstractcmd
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)