Struct capsules_extra::usb::descriptors::EndpointAddress
source · pub struct EndpointAddress(/* private fields */);
Implementations§
source§impl EndpointAddress
impl EndpointAddress
pub fn new(endpoint: usize, direction: TransferDirection) -> Self
pub const fn new_const(endpoint: usize, direction: TransferDirection) -> Self
Auto Trait Implementations§
impl Freeze for EndpointAddress
impl RefUnwindSafe for EndpointAddress
impl Send for EndpointAddress
impl Sync for EndpointAddress
impl Unpin 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