pub struct Dependency {
pub key: String,
pub name: String,
pub dependencies: Vec<String>,
pub ast: Ast,
}
Expand description
Describes the AST of a dependency package
Fields§
§key: String
The unique key that identifies this source package, agnostic of the alias given to it in the manifest file
name: String
The name of the package as given in the manifest file
dependencies: Vec<String>
The keys of any packages that this package depends on
ast: Ast
The AST of the source code of this package
Auto Trait Implementations§
impl Freeze for Dependency
impl RefUnwindSafe for Dependency
impl !Send for Dependency
impl !Sync for Dependency
impl Unpin 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