Struct xhci::extended_capabilities::usb_legacy_support_capability::UsbLegacySupportCapability[][src]

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

USB Legacy Support Capability

Implementations

impl UsbLegacySupportCapability[src]

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

Returns the value of the HC BIOS Owned Semaphore bit.

pub fn set_hc_bios_owned_semaphore(&mut self, b: bool)[src]

Sets the value of the HC BIOS Owned Semaphore bit.

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

Returns the value of the HC OS Owned Semaphore bit.

pub fn set_hc_os_owned_semaphore(&mut self, b: bool)[src]

Gets the value of the HC OS Owned Semaphore bit.

Trait Implementations

impl Clone for UsbLegacySupportCapability[src]

impl Copy for UsbLegacySupportCapability[src]

impl Debug for UsbLegacySupportCapability[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.