Struct
SetUsbEnabled
pub struct SetUsbEnabled(pub UsbEnabled);Tuple Fields
0: UsbEnabledTrait Implementations
impl AsScalar<4> for SetUsbEnabled
impl AsScalar<4> for SetUsbEnabled
fn as_scalar(&self) -> [u32; 4]
impl Clone for SetUsbEnabled
impl Clone for SetUsbEnabled
fn clone(&self) -> SetUsbEnabled
fn clone(&self) -> SetUsbEnabled
Returns a duplicate of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Debug for SetUsbEnabled
impl Debug for SetUsbEnabled
impl FromScalar<4> for SetUsbEnabled
impl FromScalar<4> for SetUsbEnabled
fn from_scalar(value: [u32; 4]) -> Self
impl Hash for SetUsbEnabled
impl Hash for SetUsbEnabled
1.3.0fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Self: Sized,
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Self: Sized,
Feeds a slice of this type into the given [
Hasher]. Read moreimpl MessageId for SetUsbEnabled
impl MessageId for SetUsbEnabled
const ID: MessageId = 72usize
const ID: MessageId = 72usize
unique message identifier
const SERVER: &'static str = "os/settings"
const SERVER: &'static str = "os/settings"
target server name
impl PartialEq for SetUsbEnabled
impl PartialEq for SetUsbEnabled
fn eq(&self, other: &SetUsbEnabled) -> bool
fn eq(&self, other: &SetUsbEnabled) -> bool
Tests for
self and other values to be equal, and is used by ==.1.0.0fn ne(&self, other: &Rhs) -> bool
fn ne(&self, other: &Rhs) -> bool
Tests for
!=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.