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§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
impl Eq for LiteralPath
Source§impl PartialEq for LiteralPath
impl PartialEq for LiteralPath
Source§impl Serialize for LiteralPath
impl Serialize 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