Enum rp_pac::usb_dpram::vals::EpControlEndpointType
source · #[repr(u8)]pub enum EpControlEndpointType {
CONTROL,
ISOCHRONOUS,
BULK,
INTERRUPT,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for EpControlEndpointType
impl Clone for EpControlEndpointType
source§fn clone(&self) -> EpControlEndpointType
fn clone(&self) -> EpControlEndpointType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl From<EpControlEndpointType> for u8
impl From<EpControlEndpointType> for u8
source§fn from(val: EpControlEndpointType) -> u8
fn from(val: EpControlEndpointType) -> u8
Converts to this type from the input type.
source§impl From<u8> for EpControlEndpointType
impl From<u8> for EpControlEndpointType
source§fn from(val: u8) -> EpControlEndpointType
fn from(val: u8) -> EpControlEndpointType
Converts to this type from the input type.
source§impl Ord for EpControlEndpointType
impl Ord for EpControlEndpointType
source§fn cmp(&self, other: &EpControlEndpointType) -> Ordering
fn cmp(&self, other: &EpControlEndpointType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<EpControlEndpointType> for EpControlEndpointType
impl PartialEq<EpControlEndpointType> for EpControlEndpointType
source§fn eq(&self, other: &EpControlEndpointType) -> bool
fn eq(&self, other: &EpControlEndpointType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<EpControlEndpointType> for EpControlEndpointType
impl PartialOrd<EpControlEndpointType> for EpControlEndpointType
source§fn partial_cmp(&self, other: &EpControlEndpointType) -> Option<Ordering>
fn partial_cmp(&self, other: &EpControlEndpointType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for EpControlEndpointType
impl Eq for EpControlEndpointType
impl StructuralEq for EpControlEndpointType
impl StructuralPartialEq for EpControlEndpointType
Auto Trait Implementations§
impl RefUnwindSafe for EpControlEndpointType
impl Send for EpControlEndpointType
impl Sync for EpControlEndpointType
impl Unpin for EpControlEndpointType
impl UnwindSafe for EpControlEndpointType
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