#[non_exhaustive]pub enum ShortDeviceKind {
Deferred,
Cdi,
Path,
Opaque,
}Expand description
A conservative lexical family for one short device declaration.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Deferred
A dollar-bearing value whose effective spelling depends on interpolation.
Cdi
A selector containing a non-empty CDI-like vendor/device=name split.
Path
A slash-prefixed or colon-delimited path-like spelling.
Opaque
Any other raw provider-dependent spelling.
Trait Implementations§
Source§impl Clone for ShortDeviceKind
impl Clone for ShortDeviceKind
Source§fn clone(&self) -> ShortDeviceKind
fn clone(&self) -> ShortDeviceKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ShortDeviceKind
Source§impl Debug for ShortDeviceKind
impl Debug for ShortDeviceKind
impl Eq for ShortDeviceKind
Source§impl Hash for ShortDeviceKind
impl Hash for ShortDeviceKind
Source§impl PartialEq for ShortDeviceKind
impl PartialEq for ShortDeviceKind
impl StructuralPartialEq for ShortDeviceKind
Auto Trait Implementations§
impl Freeze for ShortDeviceKind
impl RefUnwindSafe for ShortDeviceKind
impl Send for ShortDeviceKind
impl Sync for ShortDeviceKind
impl Unpin for ShortDeviceKind
impl UnsafeUnpin for ShortDeviceKind
impl UnwindSafe for ShortDeviceKind
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