pub struct TerminalOptions<'a> {
pub workspace_root: &'a Path,
pub elapsed: Duration,
pub verbose: bool,
pub width: usize,
pub color: bool,
pub animate: bool,
}Fields§
§workspace_root: &'a Path§elapsed: Duration§verbose: bool§width: usize§color: bool§animate: boolAllows the score block to animate. Reserved for a real interactive terminal: any captured output must stay deterministic.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for TerminalOptions<'a>
impl<'a> Clone for TerminalOptions<'a>
Source§fn clone(&self) -> TerminalOptions<'a>
fn clone(&self) -> TerminalOptions<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for TerminalOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for TerminalOptions<'a>
impl<'a> RefUnwindSafe for TerminalOptions<'a>
impl<'a> Send for TerminalOptions<'a>
impl<'a> Sync for TerminalOptions<'a>
impl<'a> Unpin for TerminalOptions<'a>
impl<'a> UnsafeUnpin for TerminalOptions<'a>
impl<'a> UnwindSafe for TerminalOptions<'a>
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> 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