Struct usbip::UsbEndpoint
source · pub struct UsbEndpoint {
pub address: u8,
pub attributes: u8,
pub max_packet_size: u16,
pub interval: u8,
}
Expand description
Represent a USB endpoint
Fields§
§address: u8
bEndpointAddress
attributes: u8
bmAttributes
max_packet_size: u16
wMaxPacketSize
interval: u8
bInterval
Implementations§
Trait Implementations§
source§impl Clone for UsbEndpoint
impl Clone for UsbEndpoint
source§fn clone(&self) -> UsbEndpoint
fn clone(&self) -> UsbEndpoint
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 Debug for UsbEndpoint
impl Debug for UsbEndpoint
source§impl Default for UsbEndpoint
impl Default for UsbEndpoint
source§fn default() -> UsbEndpoint
fn default() -> UsbEndpoint
Returns the “default value” for a type. Read more
impl Copy for UsbEndpoint
Auto Trait Implementations§
impl RefUnwindSafe for UsbEndpoint
impl Send for UsbEndpoint
impl Sync for UsbEndpoint
impl Unpin for UsbEndpoint
impl UnwindSafe for UsbEndpoint
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