Enum rp_pac::usb_dpram::vals::EpControlEndpointType
source · #[repr(u8)]pub enum EpControlEndpointType {
CONTROL = 0,
ISOCHRONOUS = 1,
BULK = 2,
INTERRUPT = 3,
}
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 for EpControlEndpointType
impl PartialEq for EpControlEndpointType
source§impl PartialOrd for EpControlEndpointType
impl PartialOrd for EpControlEndpointType
impl Copy for EpControlEndpointType
impl Eq for EpControlEndpointType
impl StructuralPartialEq for EpControlEndpointType
Auto Trait Implementations§
impl Freeze for EpControlEndpointType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)