Struct VpCpuCmdBus
#[repr(transparent)]pub struct VpCpuCmdBus(pub u32);Expand description
VP_CPU_CMD_BUS register.
Tuple Fields§
§0: u32Implementations§
§impl VpCpuCmdBus
impl VpCpuCmdBus
pub fn set_command(&mut self, val: u8)
pub fn set_command(&mut self, val: u8)
command number.
pub const fn command_req(&self) -> bool
pub const fn command_req(&self) -> bool
CPU Virtual port command request:.
pub fn set_command_req(&mut self, val: bool)
pub fn set_command_req(&mut self, val: bool)
CPU Virtual port command request:.
Trait Implementations§
§impl Clone for VpCpuCmdBus
impl Clone for VpCpuCmdBus
§fn clone(&self) -> VpCpuCmdBus
fn clone(&self) -> VpCpuCmdBus
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 more§impl Debug for VpCpuCmdBus
impl Debug for VpCpuCmdBus
§impl Default for VpCpuCmdBus
impl Default for VpCpuCmdBus
§fn default() -> VpCpuCmdBus
fn default() -> VpCpuCmdBus
Returns the “default value” for a type. Read more
§impl PartialEq for VpCpuCmdBus
impl PartialEq for VpCpuCmdBus
impl Copy for VpCpuCmdBus
impl Eq for VpCpuCmdBus
impl StructuralPartialEq for VpCpuCmdBus
Auto Trait Implementations§
impl Freeze for VpCpuCmdBus
impl RefUnwindSafe for VpCpuCmdBus
impl Send for VpCpuCmdBus
impl Sync for VpCpuCmdBus
impl Unpin for VpCpuCmdBus
impl UnwindSafe for VpCpuCmdBus
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