pub enum WorkspaceConfig {
Root(WorkspaceRootConfig),
Member {
root: Option<String>,
},
}Expand description
Configuration of a workspace in a manifest.
Variants§
Root(WorkspaceRootConfig)
Indicates that [workspace] was present and the members were
optionally specified as well.
Member
Indicates that [workspace] was present and the root field is the
optional value of package.workspace, if present.
Trait Implementations§
Source§impl Clone for WorkspaceConfig
impl Clone for WorkspaceConfig
Auto Trait Implementations§
impl Freeze for WorkspaceConfig
impl RefUnwindSafe for WorkspaceConfig
impl Send for WorkspaceConfig
impl Sync for WorkspaceConfig
impl Unpin for WorkspaceConfig
impl UnsafeUnpin for WorkspaceConfig
impl UnwindSafe for WorkspaceConfig
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