pub struct RustPackages {
pub packages_by_name: BTreeMap<String, RustPackage>,
}Expand description
A RustPackage structure that contains key data from the rust package manifest.
A RustPackage consists of:
- the root of the package source relative to the workspace
- a list of the dependencies used by the package in the workspace
§Example
Fields§
§packages_by_name: BTreeMap<String, RustPackage>BTreeMap of the packages in the workspace by name
Implementations§
Source§impl RustPackages
impl RustPackages
Trait Implementations§
Source§impl Clone for RustPackages
impl Clone for RustPackages
Source§fn clone(&self) -> RustPackages
fn clone(&self) -> RustPackages
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 moreAuto Trait Implementations§
impl Freeze for RustPackages
impl RefUnwindSafe for RustPackages
impl Send for RustPackages
impl Sync for RustPackages
impl Unpin for RustPackages
impl UnsafeUnpin for RustPackages
impl UnwindSafe for RustPackages
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