#[repr(transparent)]pub struct LegSup(_);
Expand description
The first 4-byte of the USB Legacy Support Capability.
Implementations§
source§impl LegSup
impl LegSup
sourcepub fn hc_bios_owned_semaphore(self) -> bool
pub fn hc_bios_owned_semaphore(self) -> bool
Returns the HC BIOS Owned Semaphore bit.
sourcepub fn set_hc_bios_owned_semaphore(&mut self) -> &mut Self
pub fn set_hc_bios_owned_semaphore(&mut self) -> &mut Self
Sets the HC BIOS Owned Semaphore bit.
sourcepub fn clear_hc_bios_owned_semaphore(&mut self) -> &mut Self
pub fn clear_hc_bios_owned_semaphore(&mut self) -> &mut Self
Clears the HC BIOS Owned Semaphore bit.
sourcepub fn hc_os_owned_semaphore(self) -> bool
pub fn hc_os_owned_semaphore(self) -> bool
Returns the HC OS Owned Semaphore bit.
sourcepub fn set_hc_os_owned_semaphore(&mut self) -> &mut Self
pub fn set_hc_os_owned_semaphore(&mut self) -> &mut Self
Sets the HC OS Owned Semaphore bit.
sourcepub fn clear_hc_os_owned_semaphore(&mut self) -> &mut Self
pub fn clear_hc_os_owned_semaphore(&mut self) -> &mut Self
Clears the HC OS Owned Semaphore bit.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for LegSup
impl Send for LegSup
impl Sync for LegSup
impl Unpin for LegSup
impl UnwindSafe for LegSup
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more