Struct cargo::core::manifest::VirtualManifest
source · pub struct VirtualManifest { /* private fields */ }
Implementations
sourceimpl VirtualManifest
impl VirtualManifest
pub fn new(
replace: Vec<(PackageIdSpec, Dependency)>,
patch: HashMap<Url, Vec<Dependency>>,
workspace: WorkspaceConfig,
profiles: Profiles
) -> VirtualManifest
pub fn replace(&self) -> &[(PackageIdSpec, Dependency)]
pub fn patch(&self) -> &HashMap<Url, Vec<Dependency>>
pub fn workspace_config(&self) -> &WorkspaceConfig
pub fn profiles(&self) -> &Profiles
pub fn warnings_mut(&mut self) -> &mut Warnings
pub fn warnings(&self) -> &Warnings
Trait Implementations
sourceimpl Clone for VirtualManifest
impl Clone for VirtualManifest
sourcefn clone(&self) -> VirtualManifest
fn clone(&self) -> VirtualManifest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for VirtualManifest
impl !Send for VirtualManifest
impl !Sync for VirtualManifest
impl Unpin for VirtualManifest
impl UnwindSafe for VirtualManifest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more