pub struct SetupPacket { /* private fields */ }
Expand description
SetupPacket
structure holds SETUP packet data for
all Control transfers.
Implementations§
Source§impl SetupPacket
impl SetupPacket
Trait Implementations§
Source§impl Clone for SetupPacket
impl Clone for SetupPacket
Source§fn clone(&self) -> SetupPacket
fn clone(&self) -> SetupPacket
Returns a duplicate 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 SetupPacket
impl Debug for SetupPacket
Source§impl From<SetupPacket> for [u8; 8]
impl From<SetupPacket> for [u8; 8]
Source§fn from(val: SetupPacket) -> Self
fn from(val: SetupPacket) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetupPacket
impl PartialEq for SetupPacket
impl Copy for SetupPacket
impl Eq for SetupPacket
impl StructuralPartialEq for SetupPacket
Auto Trait Implementations§
impl Freeze for SetupPacket
impl RefUnwindSafe for SetupPacket
impl Send for SetupPacket
impl Sync for SetupPacket
impl Unpin for SetupPacket
impl UnwindSafe for SetupPacket
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