pub struct SetInterfaceEnabled {
pub interface_number: u8,
pub enabled: bool,
}Fields§
§interface_number: u8§enabled: boolTrait Implementations§
Source§impl BlockingScalar for SetInterfaceEnabled
impl BlockingScalar for SetInterfaceEnabled
Source§impl Clone for SetInterfaceEnabled
impl Clone for SetInterfaceEnabled
Source§fn clone(&self) -> SetInterfaceEnabled
fn clone(&self) -> SetInterfaceEnabled
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 SetInterfaceEnabled
impl Debug for SetInterfaceEnabled
Source§impl FromScalar<2> for SetInterfaceEnabled
impl FromScalar<2> for SetInterfaceEnabled
fn from_scalar(value: [u32; 2]) -> Self
Auto Trait Implementations§
impl Freeze for SetInterfaceEnabled
impl RefUnwindSafe for SetInterfaceEnabled
impl Send for SetInterfaceEnabled
impl Sync for SetInterfaceEnabled
impl Unpin for SetInterfaceEnabled
impl UnwindSafe for SetInterfaceEnabled
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> FromScalar<3> for Twhere
T: FromScalar<2>,
impl<T> FromScalar<3> for Twhere
T: FromScalar<2>,
fn from_scalar(value: [u32; 3]) -> T
§impl<T> FromScalar<4> for Twhere
T: FromScalar<3>,
impl<T> FromScalar<4> for Twhere
T: FromScalar<3>,
fn from_scalar(value: [u32; 4]) -> T
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.