#[repr(transparent)]pub struct Noop(_);
Expand description
No Op TRB
Implementations§
source§impl Noop
impl Noop
sourcepub fn interrupt_on_completion(self) -> bool
pub fn interrupt_on_completion(self) -> bool
Returns the Interrupt On Completion bit.
sourcepub fn set_interrupt_on_completion(&mut self) -> &mut Self
pub fn set_interrupt_on_completion(&mut self) -> &mut Self
Sets the Interrupt On Completion bit.
sourcepub fn clear_interrupt_on_completion(&mut self) -> &mut Self
pub fn clear_interrupt_on_completion(&mut self) -> &mut Self
Clears the Interrupt On Completion bit.
source§impl Noop
impl Noop
sourcepub fn interrupter_target(self) -> u16
pub fn interrupter_target(self) -> u16
Returns the value of the Interrupter Target field.
sourcepub fn set_interrupter_target(&mut self, value: u16) -> &mut Self
pub fn set_interrupter_target(&mut self, value: u16) -> &mut Self
Sets the value of the Interrupter Target field.
sourcepub fn evaluate_next_trb(self) -> bool
pub fn evaluate_next_trb(self) -> bool
Returns the Evaluate Next TRB bit.
sourcepub fn set_evaluate_next_trb(&mut self) -> &mut Self
pub fn set_evaluate_next_trb(&mut self) -> &mut Self
Sets the Evaluate Next TRB bit.
sourcepub fn clear_evaluate_next_trb(&mut self) -> &mut Self
pub fn clear_evaluate_next_trb(&mut self) -> &mut Self
Clears the Evaluate Next TRB bit.
sourcepub fn set_chain_bit(&mut self) -> &mut Self
pub fn set_chain_bit(&mut self) -> &mut Self
Sets the Chain bit bit.
sourcepub fn clear_chain_bit(&mut self) -> &mut Self
pub fn clear_chain_bit(&mut self) -> &mut Self
Clears the Chain bit bit.
Trait Implementations§
source§impl Ord for Noop
impl Ord for Noop
source§impl PartialEq<Noop> for Noop
impl PartialEq<Noop> for Noop
source§impl PartialOrd<Noop> for Noop
impl PartialOrd<Noop> for Noop
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 Noop
impl Eq for Noop
impl StructuralEq for Noop
impl StructuralPartialEq for Noop
Auto Trait Implementations§
impl RefUnwindSafe for Noop
impl Send for Noop
impl Sync for Noop
impl Unpin for Noop
impl UnwindSafe for Noop
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