pub struct Member {
pub name: String,
pub dir: String,
pub deps: Vec<String>,
}Expand description
A crate of the workspace, as cargo metadata --no-deps gives it.
Fields§
§name: StringThe name of the package, for example riff-core.
dir: StringThe directory of the crate from the top of the repository, for
example crates/riff-core.
deps: Vec<String>The names of each dependency: normal, dev and build.
Trait Implementations§
impl Eq for Member
impl StructuralPartialEq for Member
Auto Trait Implementations§
impl Freeze for Member
impl RefUnwindSafe for Member
impl Send for Member
impl Sync for Member
impl Unpin for Member
impl UnsafeUnpin for Member
impl UnwindSafe for Member
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