#[repr(C)]pub struct EndpointDescriptor {
pub length: u8,
pub descriptor_type: u8,
pub endpoint_address: u8,
pub attributes: u8,
pub max_packet_size: u16,
pub interval: u8,
}Fields§
§length: u8§descriptor_type: u8§endpoint_address: u8§attributes: u8§max_packet_size: u16§interval: u8Trait Implementations§
Source§impl Clone for EndpointDescriptor
impl Clone for EndpointDescriptor
Source§fn clone(&self) -> EndpointDescriptor
fn clone(&self) -> EndpointDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EndpointDescriptor
Source§impl Debug for EndpointDescriptor
impl Debug for EndpointDescriptor
impl Eq for EndpointDescriptor
Source§impl PartialEq for EndpointDescriptor
impl PartialEq for EndpointDescriptor
impl StructuralPartialEq for EndpointDescriptor
Auto Trait Implementations§
impl Freeze for EndpointDescriptor
impl RefUnwindSafe for EndpointDescriptor
impl Send for EndpointDescriptor
impl Sync for EndpointDescriptor
impl Unpin for EndpointDescriptor
impl UnsafeUnpin for EndpointDescriptor
impl UnwindSafe for EndpointDescriptor
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)