pub struct ChapterEntryBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> ChapterEntryBuilder<S>
impl<S: State> ChapterEntryBuilder<S>
Sourcepub fn build(self, title: impl Into<String>) -> ChapterEntrywhere
S: IsComplete,
pub fn build(self, title: impl Into<String>) -> ChapterEntrywhere
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn start_time(self, value: Duration) -> ChapterEntryBuilder<SetStartTime<S>>where
S::StartTime: IsUnset,
pub fn start_time(self, value: Duration) -> ChapterEntryBuilder<SetStartTime<S>>where
S::StartTime: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for ChapterEntryBuilder<S>
impl<S> RefUnwindSafe for ChapterEntryBuilder<S>
impl<S> Send for ChapterEntryBuilder<S>
impl<S> Sync for ChapterEntryBuilder<S>
impl<S> Unpin for ChapterEntryBuilder<S>
impl<S> UnsafeUnpin for ChapterEntryBuilder<S>
impl<S> UnwindSafe for ChapterEntryBuilder<S>
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