Enum cucumber::writer::Coloring [−][src]
pub enum Coloring {
Auto,
Always,
Never,
}
Expand description
Possible policies of a console
output coloring.
Variants
Auto
Letting console::colors_enabled()
to decide, whether output should
be colored.
Always
Forcing of a colored output.
Never
Forcing of a non-colored output.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Coloring
impl UnwindSafe for Coloring
Blanket Implementations
Mutably borrows from an owned value. Read more
Asserts this Writer
being Normalized
. Read more
pub fn fail_on_skipped(
Self
) -> FailOnSkipped<T, fn(&Feature, Option<&Rule>, &Scenario) -> bool>
pub fn fail_on_skipped(
Self
) -> FailOnSkipped<T, fn(&Feature, Option<&Rule>, &Scenario) -> bool>
pub fn fail_on_skipped_with<F>(Self, F) -> FailOnSkipped<T, F> where
F: Fn(&Feature, Option<&Rule>, &Scenario) -> bool,
pub fn fail_on_skipped_with<F>(Self, F) -> FailOnSkipped<T, F> where
F: Fn(&Feature, Option<&Rule>, &Scenario) -> bool,
Wraps this Writer
into a discard::Arbitrary
one, providing a
no-op ArbitraryWriter
implementation. Read more
Wraps this Writer
into a discard::Arbitrary
one, providing a
no-op FailureWriter
implementation returning only 0
. Read more