#[repr(transparent)]
pub struct CapabilityParameters1(_);
Expand description

Capability Parameters 1

Implementations§

source§

impl CapabilityParameters1

source

pub fn addressing_capability(self) -> bool

Returns the 64-bit Addressing Capability bit.

source

pub fn bw_negotiation_capability(self) -> bool

Returns the BW Negotiation Capability bit.

source

pub fn context_size(self) -> bool

Returns the Context Size bit.

source

pub fn port_power_control(self) -> bool

Returns the Port Power Control bit.

source

pub fn port_indicators(self) -> bool

Returns the Port Indicators bit.

source

pub fn light_hc_reset_capability(self) -> bool

Returns the Light HC Reset Capability bit.

source

pub fn latency_tolerance_messaging_capability(self) -> bool

Returns the Latency Tolerance Messaging Capability bit.

source

pub fn no_secondary_sid_support(self) -> bool

Returns the No Secondary SID Support bit.

source

pub fn parse_all_event_data(self) -> bool

Returns the Parse All Event Data bit.

source

pub fn stopped_short_packet_capability(self) -> bool

Returns the Stopped - Short Packet Capability bit.

source

pub fn stopped_edtla_capability(self) -> bool

Returns the Stopped EDTLA Capability bit.

source

pub fn contiguous_frame_id_capability(self) -> bool

Returns the Contiguous Frame ID Capability bit.

source

pub fn maximum_primary_stream_array_size(self) -> u8

Returns the value of the Maximum Primary Stream Array Size field.

source

pub fn xhci_extended_capabilities_pointer(self) -> u16

Returns the value of the xHCI Extended Capabilities Pointer field.

Trait Implementations§

source§

impl Clone for CapabilityParameters1

source§

fn clone(&self) -> CapabilityParameters1

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CapabilityParameters1

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for CapabilityParameters1

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.