pub struct DevicePath(pub PathBuf);Tuple Fields§
§0: PathBufTrait Implementations§
Source§impl Clone for DevicePath
impl Clone for DevicePath
Source§fn clone(&self) -> DevicePath
fn clone(&self) -> DevicePath
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 DevicePath
impl Debug for DevicePath
Source§impl<'de> Deserialize<'de> for DevicePath
impl<'de> Deserialize<'de> for DevicePath
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<'a> From<&'a DevicePath> for &'a Path
impl<'a> From<&'a DevicePath> for &'a Path
Source§fn from(s: &'a DevicePath) -> &'a Path
fn from(s: &'a DevicePath) -> &'a Path
Converts to this type from the input type.
Source§impl<S: Into<PathBuf>> From<S> for DevicePath
impl<S: Into<PathBuf>> From<S> for DevicePath
Source§fn from(s: S) -> DevicePath
fn from(s: S) -> DevicePath
Converts to this type from the input type.
Source§impl Hash for DevicePath
impl Hash for DevicePath
Source§impl Ord for DevicePath
impl Ord for DevicePath
Source§fn cmp(&self, other: &DevicePath) -> Ordering
fn cmp(&self, other: &DevicePath) -> 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 DevicePath
impl PartialEq for DevicePath
Source§impl PartialOrd for DevicePath
impl PartialOrd for DevicePath
Source§impl Serialize for DevicePath
impl Serialize for DevicePath
impl Eq for DevicePath
Auto Trait Implementations§
impl Freeze for DevicePath
impl RefUnwindSafe for DevicePath
impl Send for DevicePath
impl Sync for DevicePath
impl Unpin for DevicePath
impl UnwindSafe for DevicePath
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