pub struct EndpointAddress(/* private fields */);Expand description
Type-safe USB endpoint address (number + direction encoded in one byte).
Implementations§
Source§impl EndpointAddress
impl EndpointAddress
Sourcepub const EP0_OUT: EndpointAddress
pub const EP0_OUT: EndpointAddress
EP0 OUT address (control, host→device).
Sourcepub const EP0_IN: EndpointAddress
pub const EP0_IN: EndpointAddress
EP0 IN address (control, device→host).
Trait Implementations§
Source§impl Clone for EndpointAddress
impl Clone for EndpointAddress
impl Copy for EndpointAddress
Source§impl Debug for EndpointAddress
impl Debug for EndpointAddress
impl Eq for EndpointAddress
Source§impl Format for EndpointAddress
Available on crate feature defmt only.
impl Format for EndpointAddress
Available on crate feature
defmt only.Source§impl From<EndpointAddress> for u8
impl From<EndpointAddress> for u8
Source§fn from(a: EndpointAddress) -> Self
fn from(a: EndpointAddress) -> Self
Converts to this type from the input type.
Source§impl From<u8> for EndpointAddress
impl From<u8> for EndpointAddress
Source§impl PartialEq for EndpointAddress
impl PartialEq for EndpointAddress
impl StructuralPartialEq for EndpointAddress
Auto Trait Implementations§
impl Forget for EndpointAddress
impl Freeze for EndpointAddress
impl Move for EndpointAddress
impl RefUnwindSafe for EndpointAddress
impl Send for EndpointAddress
impl Sync for EndpointAddress
impl Unpin for EndpointAddress
impl UnsafeUnpin for EndpointAddress
impl UnwindSafe for EndpointAddress
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