Enum cargo::util::toml_mut::dependency::MaybeWorkspace
source · pub enum MaybeWorkspace<T> {
Workspace(WorkspaceSource),
Other(T),
}
Expand description
Either a workspace or another type.
Variants§
Workspace(WorkspaceSource)
Other(T)
Auto Trait Implementations§
impl<T> RefUnwindSafe for MaybeWorkspace<T>where
T: RefUnwindSafe,
impl<T> Send for MaybeWorkspace<T>where
T: Send,
impl<T> Sync for MaybeWorkspace<T>where
T: Sync,
impl<T> Unpin for MaybeWorkspace<T>where
T: Unpin,
impl<T> UnwindSafe for MaybeWorkspace<T>where
T: UnwindSafe,
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