Struct xhci::extended_capabilities::debug::EventRingDequeuePointer
source · #[repr(transparent)]pub struct EventRingDequeuePointer(_);
Expand description
Debug Capability Event Ring Dequeue Pointer Register.
Implementations§
source§impl EventRingDequeuePointer
impl EventRingDequeuePointer
sourcepub fn dequeue_erst_segment_index(self) -> u8
pub fn dequeue_erst_segment_index(self) -> u8
Returns the value of the Dequeue ERST Segment Index field.
sourcepub fn set_dequeue_erst_segment_index(&mut self, i: u8)
pub fn set_dequeue_erst_segment_index(&mut self, i: u8)
Sets the value of the Dequeue ERST Segment Index field.
sourcepub fn dequeue_pointer(self) -> u64
pub fn dequeue_pointer(self) -> u64
Returns the value of the Dequeue Pointer field.
sourcepub fn set_dequeue_pointer(&mut self, a: u64)
pub fn set_dequeue_pointer(&mut self, a: u64)
Sets the value of the Dequeue Pointer field.
Panics
This method panics if the address is not 16-byte aligned.
Trait Implementations§
source§impl Clone for EventRingDequeuePointer
impl Clone for EventRingDequeuePointer
source§fn clone(&self) -> EventRingDequeuePointer
fn clone(&self) -> EventRingDequeuePointer
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 EventRingDequeuePointer
impl Debug for EventRingDequeuePointer
impl Copy for EventRingDequeuePointer
Auto Trait Implementations§
impl RefUnwindSafe for EventRingDequeuePointer
impl Send for EventRingDequeuePointer
impl Sync for EventRingDequeuePointer
impl Unpin for EventRingDequeuePointer
impl UnwindSafe for EventRingDequeuePointer
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