[][src]Struct mmrbi::cargo::metadata::Workspace

#[non_exhaustive]pub struct Workspace<WorkspaceMetadata = Table> { /* fields omitted */ }

A workspace directory, and corresponding [workspace]

Implementations

impl<WM> Workspace<WM>[src]

pub fn directory(&self) -> &Path[src]

Path to the directory containing the Cargo.toml this [workspace] was parsed out of

pub fn toml(&self) -> &Workspace<WM>[src]

Parsed Cargo.toml contents (also available via Deref)

Trait Implementations

impl<WorkspaceMetadata: Clone> Clone for Workspace<WorkspaceMetadata>[src]

impl<WorkspaceMetadata: Debug> Debug for Workspace<WorkspaceMetadata>[src]

impl<WorkspaceMetadata: Default> Default for Workspace<WorkspaceMetadata>[src]

impl<WM> Deref for Workspace<WM>[src]

type Target = Workspace<WM>

The resulting type after dereferencing.

Auto Trait Implementations

impl<WorkspaceMetadata> RefUnwindSafe for Workspace<WorkspaceMetadata> where
    WorkspaceMetadata: RefUnwindSafe

impl<WorkspaceMetadata> Send for Workspace<WorkspaceMetadata> where
    WorkspaceMetadata: Send

impl<WorkspaceMetadata> Sync for Workspace<WorkspaceMetadata> where
    WorkspaceMetadata: Sync

impl<WorkspaceMetadata> Unpin for Workspace<WorkspaceMetadata> where
    WorkspaceMetadata: Unpin

impl<WorkspaceMetadata> UnwindSafe for Workspace<WorkspaceMetadata> where
    WorkspaceMetadata: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.