pub struct ControlSetup {
pub request_type: RequestType,
pub recipient: Recipient,
pub request: Request,
pub value: u16,
pub index: u16,
}Fields§
§request_type: RequestType§recipient: Recipient§request: Request§value: u16§index: u16Trait Implementations§
Source§impl Clone for ControlSetup
impl Clone for ControlSetup
Source§fn clone(&self) -> ControlSetup
fn clone(&self) -> ControlSetup
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 moreAuto Trait Implementations§
impl Freeze for ControlSetup
impl RefUnwindSafe for ControlSetup
impl Send for ControlSetup
impl Sync for ControlSetup
impl Unpin for ControlSetup
impl UnwindSafe for ControlSetup
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