Struct ironoxide::user::DeviceCreateOpts [−][src]
pub struct DeviceCreateOpts { /* fields omitted */ }
Expand description
Options for device creation.
Default values are provided with DeviceCreateOpts::default()
Implementations
Arguments
- device_name
None
(default) - The device will be created with no name.Some
- The provided name will be used as the device’s name.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DeviceCreateOpts
impl Send for DeviceCreateOpts
impl Sync for DeviceCreateOpts
impl Unpin for DeviceCreateOpts
impl UnwindSafe for DeviceCreateOpts
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> Clear for T where
T: InitializableFromZeroed + ?Sized,
impl<T> Clear for T where
T: InitializableFromZeroed + ?Sized,
pub fn clear(&mut self)
pub fn clear(&mut self)
Completely overwrites this value.
Compare self to key
and return true
if they are equal.
impl<T> InitializableFromZeroed for T where
T: Default,
impl<T> InitializableFromZeroed for T where
T: Default,
pub unsafe fn initialize(place: *mut T)
pub unsafe fn initialize(place: *mut T)
Called to initialize a place to a valid value, after it is set to all-bits-zero. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V