pub struct RepoConfig {
pub root: PathBuf,
pub artifacts: BTreeMap<ArtifactName, Artifact>,
pub evals: Vec<Eval>,
pub relations: Vec<Relation>,
pub profiles: BTreeMap<ProfileName, Profile>,
/* private fields */
}Fields§
§root: PathBuf§artifacts: BTreeMap<ArtifactName, Artifact>§evals: Vec<Eval>§relations: Vec<Relation>§profiles: BTreeMap<ProfileName, Profile>The project’s profiles, each in the branch the environment selects.
Implementations§
Source§impl RepoConfig
impl RepoConfig
Sourcepub fn descendants<'a>(
&'a self,
name: &'a ArtifactName,
) -> Vec<&'a ArtifactName>
pub fn descendants<'a>( &'a self, name: &'a ArtifactName, ) -> Vec<&'a ArtifactName>
Every Artifact name is made of, directly or through its parts, each once.
Sourcepub fn review_requirement(&self, artifact_id: &str) -> Option<ReviewRequirement>
pub fn review_requirement(&self, artifact_id: &str) -> Option<ReviewRequirement>
Local obligations only; a basis does not satisfy its dependency scope.
Trait Implementations§
Auto Trait Implementations§
impl Forget for RepoConfig
impl Freeze for RepoConfigwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<ArtifactName, Artifact> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(ArtifactName, Artifact)>>: Freeze,
PhantomData<Eval>: Freeze,
PhantomData<Relation>: Freeze,
*const LeafNode<ProfileName, Profile> is !null: Freeze,
PhantomData<Box<(ProfileName, Profile)>>: Freeze,
*const ArcInner<Program> is !null: Freeze,
PhantomData<ArcInner<Program>>: Freeze,
*const LeafNode<PluginName, Arc<Plugin>> is !null: Freeze,
PhantomData<Box<(PluginName, Arc<Plugin>)>>: Freeze,
impl Move for RepoConfig
impl RefUnwindSafe for RepoConfigwhere
Atomic<usize>: RefUnwindSafe,
Pool<Cache, Box<dyn Fn() -> Cache + Sync + RefUnwindSafe + Send + UnwindSafe>>: RefUnwindSafe,
Pool<PatternSet, Box<dyn Fn() -> PatternSet + Sync + RefUnwindSafe + Send + UnwindSafe>>: RefUnwindSafe,
Pool<Vec<usize>, fn() -> Vec<usize>>: RefUnwindSafe,
impl Send for RepoConfigwhere
RawVecInner: Send,
NodeRef<Owned, ArtifactName, Artifact, LeafOrInternal>: Send,
BoxRaw<(ArtifactName, Artifact)>: Send,
NodeRef<Owned, ReferenceName, ArtifactName, LeafOrInternal>: Send,
BoxRaw<(ReferenceName, ArtifactName)>: Send,
NodeRef<Owned, ProfileName, Profile, LeafOrInternal>: Send,
BoxRaw<(ProfileName, Profile)>: Send,
Arc<Program>: Send,
NodeRef<Owned, PluginName, Arc<Plugin>, LeafOrInternal>: Send,
BoxRaw<(PluginName, Arc<Plugin>)>: Send,
impl Sync for RepoConfigwhere
RawVecInner: Sync,
NodeRef<Owned, ArtifactName, Artifact, LeafOrInternal>: Sync,
BoxRaw<(ArtifactName, Artifact)>: Sync,
NodeRef<Owned, ReferenceName, ArtifactName, LeafOrInternal>: Sync,
BoxRaw<(ReferenceName, ArtifactName)>: Sync,
NodeRef<Owned, ProfileName, Profile, LeafOrInternal>: Sync,
BoxRaw<(ProfileName, Profile)>: Sync,
Arc<Program>: Sync,
NodeRef<Owned, PluginName, Arc<Plugin>, LeafOrInternal>: Sync,
BoxRaw<(PluginName, Arc<Plugin>)>: Sync,
impl Unpin for RepoConfigwhere
*const u8 is !null: Unpin,
*const LeafNode<ArtifactName, Artifact> is !null: Unpin,
Box<(ArtifactName, Artifact)>: Unpin,
*const LeafNode<ReferenceName, ArtifactName> is !null: Unpin,
Box<(ReferenceName, ArtifactName)>: Unpin,
*const LeafNode<ProfileName, Profile> is !null: Unpin,
Box<(ProfileName, Profile)>: Unpin,
Arc<Program>: Unpin,
*const LeafNode<PluginName, Arc<Plugin>> is !null: Unpin,
Box<(PluginName, Arc<Plugin>)>: Unpin,
impl UnsafeUnpin for RepoConfigwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<ArtifactName, Artifact> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(ArtifactName, Artifact)>>: UnsafeUnpin,
PhantomData<Eval>: UnsafeUnpin,
PhantomData<Relation>: UnsafeUnpin,
*const LeafNode<ProfileName, Profile> is !null: UnsafeUnpin,
PhantomData<Box<(ProfileName, Profile)>>: UnsafeUnpin,
*const ArcInner<Program> is !null: UnsafeUnpin,
PhantomData<ArcInner<Program>>: UnsafeUnpin,
*const LeafNode<PluginName, Arc<Plugin>> is !null: UnsafeUnpin,
PhantomData<Box<(PluginName, Arc<Plugin>)>>: UnsafeUnpin,
impl UnwindSafe for RepoConfigwhere
RawVecInner: UnwindSafe,
BTreeMap<ArtifactName, Artifact>: UnwindSafe,
BTreeMap<ReferenceName, ArtifactName>: UnwindSafe,
BTreeMap<ProfileName, Profile>: UnwindSafe,
Arc<Program>: UnwindSafe,
BTreeMap<PluginName, Arc<Plugin>>: 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