pub struct CrateVersionPath {
pub crate_version: CrateVersion,
pub path: Arc<str>,
}
Expand description
Represents a path within a specific crate’s directory structure.
It combines the crate version information with the relative path within the crate.
Fields§
§crate_version: CrateVersion
The name and version of a crate.
path: Arc<str>
The path.
Trait Implementations§
Source§impl Debug for CrateVersionPath
impl Debug for CrateVersionPath
Source§impl<'de> Deserialize<'de> for CrateVersionPath
impl<'de> Deserialize<'de> for CrateVersionPath
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
Auto Trait Implementations§
impl Freeze for CrateVersionPath
impl RefUnwindSafe for CrateVersionPath
impl Send for CrateVersionPath
impl Sync for CrateVersionPath
impl Unpin for CrateVersionPath
impl UnwindSafe for CrateVersionPath
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