pub struct DriverRef {
pub name: String,
pub module: Option<StorePath>,
}Expand description
An in-tree driver is named (snd_hda_intel); an out-of-tree one also names
the module’s store path. Replaces §8’s bare StorePath (G6).
Fields§
§name: String§module: Option<StorePath>Trait Implementations§
Source§impl<'de> Deserialize<'de> for DriverRef
impl<'de> Deserialize<'de> for DriverRef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for DriverRef
impl Ord for DriverRef
Source§impl PartialOrd for DriverRef
impl PartialOrd for DriverRef
impl Eq for DriverRef
impl StructuralPartialEq for DriverRef
Auto Trait Implementations§
impl Freeze for DriverRef
impl RefUnwindSafe for DriverRef
impl Send for DriverRef
impl Sync for DriverRef
impl Unpin for DriverRef
impl UnsafeUnpin for DriverRef
impl UnwindSafe for DriverRef
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