#[non_exhaustive]pub struct Dependency {
pub name: String,
pub root: PathBuf,
}Available on crate feature
workspace only.Expand description
A dependency of a package, as named in its [dependencies].
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe name the dependency is given in the manifest.
root: PathBufThe directory of the dependency, holding its Rune.toml.
Trait Implementations§
Source§impl Debug for Dependency
impl Debug for Dependency
Auto Trait Implementations§
impl Forget for Dependency
impl Freeze for Dependency
impl Move for Dependency
impl RefUnwindSafe for Dependency
impl Send for Dependency
impl Sync for Dependency
impl Unpin for Dependency
impl UnsafeUnpin for Dependency
impl UnwindSafe for Dependency
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