Type Alias nu_ansi_term::AnsiStrings

source ·
pub type AnsiStrings<'a> = AnsiGenericStrings<'a, str>;
Expand description

A set of AnsiStrings collected together, in order to be written with a minimum of control characters.

Aliased Type§

struct AnsiStrings<'a>(pub &'a [AnsiGenericString<'a, str>]);

Fields§

§0: &'a [AnsiGenericString<'a, str>]

Trait Implementations§

source§

impl<'a> Display for AnsiStrings<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, S> Debug for AnsiGenericStrings<'a, S>
where <S as ToOwned>::Owned: Debug, S: PartialEq + Debug + 'a + ToOwned + ?Sized,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, S> PartialEq for AnsiGenericStrings<'a, S>
where <S as ToOwned>::Owned: Debug, S: PartialEq + PartialEq + 'a + ToOwned + ?Sized,

source§

fn eq(&self, other: &AnsiGenericStrings<'a, S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, S> StructuralPartialEq for AnsiGenericStrings<'a, S>
where <S as ToOwned>::Owned: Debug, S: PartialEq + 'a + ToOwned + ?Sized,