pub struct WorkspacePath(pub PathBuf);
Expand description
custom serde field for workspace-relative paths
Tuple Fields§
§0: PathBuf
Trait Implementations§
Source§impl Clone for WorkspacePath
impl Clone for WorkspacePath
Source§fn clone(&self) -> WorkspacePath
fn clone(&self) -> WorkspacePath
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 WorkspacePath
impl Debug for WorkspacePath
Source§impl<'de> Deserialize<'de> for WorkspacePath
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for WorkspacePath
Available on crate feature
serde
only.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 WorkspacePath
impl PartialEq for WorkspacePath
Source§impl Serialize for WorkspacePath
Available on crate feature serde
only.
impl Serialize for WorkspacePath
Available on crate feature
serde
only.impl StructuralPartialEq for WorkspacePath
Auto Trait Implementations§
impl Freeze for WorkspacePath
impl RefUnwindSafe for WorkspacePath
impl Send for WorkspacePath
impl Sync for WorkspacePath
impl Unpin for WorkspacePath
impl UnwindSafe for WorkspacePath
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