Struct xhci::ring::trb::command::SetLatencyToleranceValue[][src]

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

Set Latency Tolerance Value Command TRB

Implementations

impl SetLatencyToleranceValue[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 SetLatencyToleranceValue[src]

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

Creates a new Set Latency Tolerance Value Command TRB.

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

impl SetLatencyToleranceValue[src]

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

Sets the value of the Best Effort Latency Tolerance Value field.

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

Returns the value of the Best Effort Latency Tolerance Value field.

Trait Implementations

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

impl Clone for SetLatencyToleranceValue[src]

impl Copy for SetLatencyToleranceValue[src]

impl Debug for SetLatencyToleranceValue[src]

impl Default for SetLatencyToleranceValue[src]

impl Eq for SetLatencyToleranceValue[src]

impl From<SetLatencyToleranceValue> for Allowed[src]

impl Hash for SetLatencyToleranceValue[src]

impl Ord for SetLatencyToleranceValue[src]

impl PartialEq<SetLatencyToleranceValue> for SetLatencyToleranceValue[src]

impl PartialOrd<SetLatencyToleranceValue> for SetLatencyToleranceValue[src]

impl StructuralEq for SetLatencyToleranceValue[src]

impl StructuralPartialEq for SetLatencyToleranceValue[src]

Auto Trait Implementations

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.