#[repr(C, packed(1))]pub struct USB_FUNCTION_SUSPEND_OPTIONS {
pub AsUchar: UCHAR,
}
Fields§
§AsUchar: UCHAR
Implementations§
Source§impl USB_FUNCTION_SUSPEND_OPTIONS
impl USB_FUNCTION_SUSPEND_OPTIONS
pub fn PowerState(&self) -> UCHAR
pub fn set_PowerState(&mut self, val: UCHAR)
pub fn RemoteWakeEnabled(&self) -> UCHAR
pub fn set_RemoteWakeEnabled(&mut self, val: UCHAR)
pub fn Reserved0(&self) -> UCHAR
pub fn set_Reserved0(&mut self, val: UCHAR)
Trait Implementations§
Source§impl Clone for USB_FUNCTION_SUSPEND_OPTIONS
impl Clone for USB_FUNCTION_SUSPEND_OPTIONS
Source§fn clone(&self) -> USB_FUNCTION_SUSPEND_OPTIONS
fn clone(&self) -> USB_FUNCTION_SUSPEND_OPTIONS
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 Default for USB_FUNCTION_SUSPEND_OPTIONS
impl Default for USB_FUNCTION_SUSPEND_OPTIONS
Source§fn default() -> USB_FUNCTION_SUSPEND_OPTIONS
fn default() -> USB_FUNCTION_SUSPEND_OPTIONS
Returns the “default value” for a type. Read more
impl Copy for USB_FUNCTION_SUSPEND_OPTIONS
Auto Trait Implementations§
impl Freeze for USB_FUNCTION_SUSPEND_OPTIONS
impl RefUnwindSafe for USB_FUNCTION_SUSPEND_OPTIONS
impl Send for USB_FUNCTION_SUSPEND_OPTIONS
impl Sync for USB_FUNCTION_SUSPEND_OPTIONS
impl Unpin for USB_FUNCTION_SUSPEND_OPTIONS
impl UnwindSafe for USB_FUNCTION_SUSPEND_OPTIONS
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