pub struct UpToDateContainer<T: Task> { /* private fields */ }Expand description
Contains up to date checks for a task
Implementations§
Source§impl<T: Task> UpToDateContainer<T>
impl<T: Task> UpToDateContainer<T>
Sourcepub fn up_to_date_if<F>(&mut self, spec: F)
pub fn up_to_date_if<F>(&mut self, spec: F)
Add an up to date check
pub fn handler<'h>(&'h self, exec: &'h Executable<T>) -> UpToDateHandler<'h, T>
pub fn len(&self) -> usize
Trait Implementations§
Source§impl<T: Task> Debug for UpToDateContainer<T>
impl<T: Task> Debug for UpToDateContainer<T>
Auto Trait Implementations§
impl<T> Freeze for UpToDateContainer<T>
impl<T> !RefUnwindSafe for UpToDateContainer<T>
impl<T> Send for UpToDateContainer<T>
impl<T> Sync for UpToDateContainer<T>
impl<T> Unpin for UpToDateContainer<T>
impl<T> !UnwindSafe for UpToDateContainer<T>
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> InstanceOf for T
impl<T> InstanceOf for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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