pub struct Study { /* private fields */ }Expand description
A complete immutable and effect-free execution declaration.
Implementations§
Source§impl Study
impl Study
Sourcepub fn load(project_root: &Path) -> Result<Self, StudyError>
pub fn load(project_root: &Path) -> Result<Self, StudyError>
Loads project declarations and binds all linked #[execution_unit] registrations.
This performs complete preflight without creating output or initializing an execution unit. Config is the only file reader and JSON parser.
Sourcepub fn project_root(&self) -> &Path
pub fn project_root(&self) -> &Path
Returns the canonical project root loaded by config.
Sourcepub fn output_root(&self) -> &Path
pub fn output_root(&self) -> &Path
Returns the inferred output root, <project-root>/output.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Study
impl !UnwindSafe for Study
impl Freeze for Study
impl Send for Study
impl Sync for Study
impl Unpin for Study
impl UnsafeUnpin for Study
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more