pub struct StudyBuilder { /* private fields */ }Expand description
Builder for one immutable study plan.
Implementations§
Source§impl StudyBuilder
impl StudyBuilder
Sourcepub fn phases<I>(self, phases: I) -> Selfwhere
I: IntoIterator<Item = Phase>,
pub fn phases<I>(self, phases: I) -> Selfwhere
I: IntoIterator<Item = Phase>,
Adds phases in deterministic declaration order.
Sourcepub fn satisfied_phase_verifier<F>(self, verifier: F) -> Self
pub fn satisfied_phase_verifier<F>(self, verifier: F) -> Self
Supplies application verification for an omitted completed dependency.
Suppresses display while preserving scheduling and lifecycle checks.
Sourcepub fn build(self) -> Result<Study, StudyError>
pub fn build(self) -> Result<Study, StudyError>
Validates the complete phase/task/dependency plan.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for StudyBuilder
impl !Sync for StudyBuilder
impl !UnwindSafe for StudyBuilder
impl Freeze for StudyBuilder
impl Send for StudyBuilder
impl Unpin for StudyBuilder
impl UnsafeUnpin for StudyBuilder
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> 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