pub(crate) struct LiteralPath {
pub(crate) literal: PathBuf,
}Expand description
Inner implementation of PathInner:Literal
LiteralPath exists to arrange that PathInner::Literal’s (de)serialization
does not overlap with PathInner::Shell’s.
Fields§
§literal: PathBufThe underlying PathBuf.
Trait Implementations§
Source§impl Clone for LiteralPath
impl Clone for LiteralPath
Source§fn clone(&self) -> LiteralPath
fn clone(&self) -> LiteralPath
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 moreSource§impl Debug for LiteralPath
impl Debug for LiteralPath
Source§impl<'de> Deserialize<'de> for LiteralPath
impl<'de> Deserialize<'de> for LiteralPath
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 PartialEq for LiteralPath
impl PartialEq for LiteralPath
Source§fn eq(&self, other: &LiteralPath) -> bool
fn eq(&self, other: &LiteralPath) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LiteralPath
impl Serialize for LiteralPath
impl Eq for LiteralPath
impl StructuralPartialEq for LiteralPath
Auto Trait Implementations§
impl Freeze for LiteralPath
impl RefUnwindSafe for LiteralPath
impl Send for LiteralPath
impl Sync for LiteralPath
impl Unpin for LiteralPath
impl UnsafeUnpin for LiteralPath
impl UnwindSafe for LiteralPath
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