pub struct WorkspaceRootConfig {
pub members: Vec<PathBuf>,
pub metadata: Option<Metadata>,
/* private fields */
}Expand description
Intermediate configuration of a workspace root in a manifest.
Knows the Workspace Root path, as well as members and metadata, which
together tell if some path is recognized as a member by this root or not.
Fields§
§members: Vec<PathBuf>§metadata: Option<Metadata>Implementations§
Trait Implementations§
Source§impl Clone for WorkspaceRootConfig
impl Clone for WorkspaceRootConfig
Source§fn clone(&self) -> WorkspaceRootConfig
fn clone(&self) -> WorkspaceRootConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WorkspaceRootConfig
impl Debug for WorkspaceRootConfig
Source§impl Default for WorkspaceRootConfig
impl Default for WorkspaceRootConfig
Source§fn default() -> WorkspaceRootConfig
fn default() -> WorkspaceRootConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkspaceRootConfig
impl<'de> Deserialize<'de> for WorkspaceRootConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WorkspaceRootConfig
Source§impl PartialEq for WorkspaceRootConfig
impl PartialEq for WorkspaceRootConfig
Source§impl Serialize for WorkspaceRootConfig
impl Serialize for WorkspaceRootConfig
impl StructuralPartialEq for WorkspaceRootConfig
Auto Trait Implementations§
impl Freeze for WorkspaceRootConfig
impl RefUnwindSafe for WorkspaceRootConfig
impl Send for WorkspaceRootConfig
impl Sync for WorkspaceRootConfig
impl Unpin for WorkspaceRootConfig
impl UnsafeUnpin for WorkspaceRootConfig
impl UnwindSafe for WorkspaceRootConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.