Struct xhci::registers::capability::StructuralParameters2 [−][src]
Structural Parameters 2
Implementations
impl StructuralParameters2
[src]
#[must_use]pub fn isochronous_scheduling_threshold(self) -> u8
[src]
Returns the value of the Isochronous Scheduling Threshold field.
#[must_use]pub fn event_ring_segment_table_max(self) -> u16
[src]
Returns the maximum number of the elements the Event Ring Segment Table can contain.
Note that the ERST Max
field of the Structural Parameters 2 register contains the exponential
value, but this method returns the calculated value.
#[must_use]pub fn max_scratchpad_buffers(self) -> u32
[src]
Returns the number of scratchpads that xHC needs.
#[must_use]pub fn scratchpad_restore(self) -> bool
[src]
Returns the value of the Scratchpad Restore field.
Trait Implementations
impl Clone for StructuralParameters2
[src]
fn clone(&self) -> StructuralParameters2
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for StructuralParameters2
[src]
impl Debug for StructuralParameters2
[src]
Auto Trait Implementations
impl Send for StructuralParameters2
impl Sync for StructuralParameters2
impl Unpin for StructuralParameters2
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,