Enum nrf52840_hal::target::usbd::bmrequesttype::TYPER
source · pub enum TYPER {
STANDARD,
CLASS,
VENDOR,
_Reserved(u8),
}
Expand description
Possible values of the field TYPE
Variants
STANDARD
Standard
CLASS
Class
VENDOR
Vendor
_Reserved(u8)
Reserved
Implementations
sourceimpl TYPER
impl TYPER
sourcepub fn is_standard(&self) -> bool
pub fn is_standard(&self) -> bool
Checks if the value of the field is STANDARD
Trait Implementations
impl Copy for TYPER
impl StructuralPartialEq for TYPER
Auto Trait Implementations
impl RefUnwindSafe for TYPER
impl Send for TYPER
impl Sync for TYPER
impl Unpin for TYPER
impl UnwindSafe for TYPER
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more