pub struct WorkspaceMap {
pub members_by_crate: HashMap<String, MemberCrate>,
pub member_src_dirs: Vec<PathBuf>,
}Expand description
Map from a workspace member’s crate name (the one used in use my_crate::Foo) to its on-disk layout. Empty when the project has no
manifest the configured plugins recognize, or when none of the
plugins declare a workspace_manifest_files entry.
Fields§
§members_by_crate: HashMap<String, MemberCrate>§member_src_dirs: Vec<PathBuf>Trait Implementations§
Source§impl Clone for WorkspaceMap
impl Clone for WorkspaceMap
Source§fn clone(&self) -> WorkspaceMap
fn clone(&self) -> WorkspaceMap
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 moreSource§impl Debug for WorkspaceMap
impl Debug for WorkspaceMap
Source§impl Default for WorkspaceMap
impl Default for WorkspaceMap
Source§fn default() -> WorkspaceMap
fn default() -> WorkspaceMap
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WorkspaceMap
impl RefUnwindSafe for WorkspaceMap
impl Send for WorkspaceMap
impl Sync for WorkspaceMap
impl Unpin for WorkspaceMap
impl UnsafeUnpin for WorkspaceMap
impl UnwindSafe for WorkspaceMap
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