#[repr(transparent)]pub struct ForceEvent(_);
Expand description
Force Event Command TRB
Implementations§
source§impl ForceEvent
impl ForceEvent
source§impl ForceEvent
impl ForceEvent
source§impl ForceEvent
impl ForceEvent
sourcepub fn set_event_trb_pointer(&mut self, p: u64) -> &mut Self
pub fn set_event_trb_pointer(&mut self, p: u64) -> &mut Self
Sets the value of the Event TRB Pointer field.
Panics
This method panics if the p
is not 16-byte aligned.
sourcepub fn event_trb_pointer(&self) -> u64
pub fn event_trb_pointer(&self) -> u64
Returns the value of the Event TRB Pointer field.
sourcepub fn vf_interrupter_target(self) -> u16
pub fn vf_interrupter_target(self) -> u16
Returns the value of the VF Interrupter Target field.
sourcepub fn set_vf_interrupter_target(&mut self, value: u16) -> &mut Self
pub fn set_vf_interrupter_target(&mut self, value: u16) -> &mut Self
Sets the value of the VF Interrupter Target field.
Trait Implementations§
source§impl AsRef<[u32]> for ForceEvent
impl AsRef<[u32]> for ForceEvent
source§impl Clone for ForceEvent
impl Clone for ForceEvent
source§fn clone(&self) -> ForceEvent
fn clone(&self) -> ForceEvent
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 Debug for ForceEvent
impl Debug for ForceEvent
source§impl Default for ForceEvent
impl Default for ForceEvent
source§impl From<ForceEvent> for [u32; 4]
impl From<ForceEvent> for [u32; 4]
source§fn from(t: ForceEvent) -> Self
fn from(t: ForceEvent) -> Self
Converts to this type from the input type.
source§impl From<ForceEvent> for Allowed
impl From<ForceEvent> for Allowed
source§fn from(v: ForceEvent) -> Self
fn from(v: ForceEvent) -> Self
Converts to this type from the input type.
source§impl Hash for ForceEvent
impl Hash for ForceEvent
source§impl Ord for ForceEvent
impl Ord for ForceEvent
source§fn cmp(&self, other: &ForceEvent) -> Ordering
fn cmp(&self, other: &ForceEvent) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ForceEvent> for ForceEvent
impl PartialEq<ForceEvent> for ForceEvent
source§fn eq(&self, other: &ForceEvent) -> bool
fn eq(&self, other: &ForceEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ForceEvent> for ForceEvent
impl PartialOrd<ForceEvent> for ForceEvent
source§fn partial_cmp(&self, other: &ForceEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &ForceEvent) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ForceEvent
impl Eq for ForceEvent
impl StructuralEq for ForceEvent
impl StructuralPartialEq for ForceEvent
Auto Trait Implementations§
impl RefUnwindSafe for ForceEvent
impl Send for ForceEvent
impl Sync for ForceEvent
impl Unpin for ForceEvent
impl UnwindSafe for ForceEvent
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