Enum term_transcript::test::MatchKind
source · #[non_exhaustive]
pub enum MatchKind {
TextOnly,
Precise,
}
Available on crate feature
test
only.Expand description
Kind of terminal output matching.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
TextOnly
Relaxed matching: compare only output text, but not coloring.
Precise
Precise matching: compare output together with colors.
Trait Implementations§
source§impl Ord for MatchKind
impl Ord for MatchKind
source§impl PartialEq<MatchKind> for MatchKind
impl PartialEq<MatchKind> for MatchKind
source§impl PartialOrd<MatchKind> for MatchKind
impl PartialOrd<MatchKind> for MatchKind
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more