pub struct DeviceCtl { /* private fields */ }
Implementations§
source§impl DeviceCtl
impl DeviceCtl
pub fn control_id(&self) -> DeviceControl
pub fn len(&self) -> u16
pub fn data(&self) -> DeviceCtlData
Trait Implementations§
source§impl Borrow<DeviceCtl> for DeviceCtlBuf
impl Borrow<DeviceCtl> for DeviceCtlBuf
source§impl ToOwned for DeviceCtl
impl ToOwned for DeviceCtl
source§type Owned = DeviceCtlBuf
type Owned = DeviceCtlBuf
The resulting type after obtaining ownership.
source§fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more