pub struct Workspace { /* private fields */ }Implementations§
Source§impl Workspace
impl Workspace
pub fn new(member_roots: impl IntoIterator<Item = RepoPath>) -> Workspace
pub fn with_skipped_manifests( self, skipped: impl IntoIterator<Item = SkippedManifest>, ) -> Workspace
pub fn skipped_manifest_in(&self, folder: &str) -> Option<&SkippedManifest>
pub fn join(&mut self, other: Workspace)
pub fn has_members(&self) -> bool
pub fn member_roots(&self) -> impl Iterator<Item = &RepoPath>
pub fn packages(&self) -> impl Iterator<Item = Package<'_>>
pub fn package_of(&self, path: &RepoPath) -> Package<'_>
Trait Implementations§
impl Eq for Workspace
impl StructuralPartialEq for Workspace
Auto Trait Implementations§
impl Forget for Workspace
impl Freeze for Workspacewhere
*const LeafNode<RepoPath, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(RepoPath, SetValZST)>>: Freeze,
*const LeafNode<SkippedManifest, SetValZST> is !null: Freeze,
PhantomData<Box<(SkippedManifest, SetValZST)>>: Freeze,
impl Move for Workspace
impl RefUnwindSafe for Workspace
impl Send for Workspacewhere
NodeRef<Owned, RepoPath, SetValZST, LeafOrInternal>: Send,
BoxRaw<(RepoPath, SetValZST)>: Send,
NodeRef<Owned, SkippedManifest, SetValZST, LeafOrInternal>: Send,
BoxRaw<(SkippedManifest, SetValZST)>: Send,
impl Sync for Workspacewhere
NodeRef<Owned, RepoPath, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(RepoPath, SetValZST)>: Sync,
NodeRef<Owned, SkippedManifest, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(SkippedManifest, SetValZST)>: Sync,
impl Unpin for Workspace
impl UnsafeUnpin for Workspacewhere
*const LeafNode<RepoPath, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(RepoPath, SetValZST)>>: UnsafeUnpin,
*const LeafNode<SkippedManifest, SetValZST> is !null: UnsafeUnpin,
PhantomData<Box<(SkippedManifest, SetValZST)>>: UnsafeUnpin,
impl UnwindSafe for Workspace
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