Struct xhci::ring::trb::transfer::Noop[][src]

#[repr(transparent)]pub struct Noop(_);

No Op TRB

Implementations

impl Noop[src]

#[must_use]pub fn into_raw(self) -> [u32; 4][src]

Returns the wrapped array.

#[must_use]pub fn cycle_bit(&self) -> bool[src]

Returns the value of the Cycle Bit.

pub fn set_cycle_bit(&mut self, b: bool) -> &mut Self[src]

Sets the value of the Cycle Bit.

impl Noop[src]

#[must_use]pub fn new() -> Self[src]

Creates a new No Op TRB.

This method sets the sets the value of the TRB Type field properly. All the other fieldds are set to 0.

impl Noop[src]

pub fn set_interrupt_on_completion(&mut self, ioc: bool) -> &mut Self[src]

Sets the value of the Interrupt On Completion field.

#[must_use]pub fn interrupt_on_completion(&self) -> bool[src]

Returns the value of the Interrupt On Completion field.

impl Noop[src]

pub fn set_interrupter_target(&mut self, t: u16) -> &mut Self[src]

Sets the value of the Interrupter Target.

#[must_use]pub fn interrupter_target(&self) -> u16[src]

Returns the value of the Interrupter Target.

pub fn set_evaluate_next_trb(&mut self, ent: bool) -> &mut Self[src]

Sets the value of the Evaluate Next TRB field.

#[must_use]pub fn evaluate_next_trb(&self) -> bool[src]

Returns the value of the Evaluate Next TRB field.

pub fn set_chain_bit(&mut self, b: bool) -> &mut Self[src]

Sets the value of the Chain Bit field.

#[must_use]pub fn chain_bit(&self) -> bool[src]

Returns the value of the Chain Bit field.

Trait Implementations

impl AsRef<[u32]> for Noop[src]

impl Clone for Noop[src]

impl Copy for Noop[src]

impl Debug for Noop[src]

impl Default for Noop[src]

impl Eq for Noop[src]

impl From<Noop> for Allowed[src]

impl Hash for Noop[src]

impl Ord for Noop[src]

impl PartialEq<Noop> for Noop[src]

impl PartialOrd<Noop> for Noop[src]

impl StructuralEq for Noop[src]

impl StructuralPartialEq for Noop[src]

Auto Trait Implementations

impl Send for Noop

impl Sync for Noop

impl Unpin for Noop

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.