pub struct DeviceProperty { /* private fields */ }Expand description
A generic -device property rendered after the device driver name.
Implementations§
Trait Implementations§
Source§impl Arbitrary for DeviceProperty
impl Arbitrary for DeviceProperty
Source§type Parameters = (<ShellString as Arbitrary>::Parameters, <Option<ShellString> as Arbitrary>::Parameters)
type Parameters = (<ShellString as Arbitrary>::Parameters, <Option<ShellString> as Arbitrary>::Parameters)
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = Map<(<ShellString as Arbitrary>::Strategy, <Option<ShellString> as Arbitrary>::Strategy), fn((ShellString, Option<ShellString>)) -> DeviceProperty>
type Strategy = Map<(<ShellString as Arbitrary>::Strategy, <Option<ShellString> as Arbitrary>::Strategy), fn((ShellString, Option<ShellString>)) -> DeviceProperty>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Clone for DeviceProperty
impl Clone for DeviceProperty
Source§fn clone(&self) -> DeviceProperty
fn clone(&self) -> DeviceProperty
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 DeviceProperty
impl Debug for DeviceProperty
Source§impl Hash for DeviceProperty
impl Hash for DeviceProperty
Source§impl Ord for DeviceProperty
impl Ord for DeviceProperty
Source§fn cmp(&self, other: &DeviceProperty) -> Ordering
fn cmp(&self, other: &DeviceProperty) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DeviceProperty
impl PartialEq for DeviceProperty
Source§impl PartialOrd for DeviceProperty
impl PartialOrd for DeviceProperty
impl Eq for DeviceProperty
impl StructuralPartialEq for DeviceProperty
Auto Trait Implementations§
impl Freeze for DeviceProperty
impl RefUnwindSafe for DeviceProperty
impl Send for DeviceProperty
impl Sync for DeviceProperty
impl Unpin for DeviceProperty
impl UnsafeUnpin for DeviceProperty
impl UnwindSafe for DeviceProperty
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