Struct ansi_term::ANSIGenericStrings
source · [−]pub struct ANSIGenericStrings<'a, S: 'a + ToOwned + ?Sized>(pub &'a [ANSIGenericString<'a, S>])
where
<S as ToOwned>::Owned: Debug,
S: PartialEq;
Expand description
A set of ANSIGenericString
s collected together, in order to be
written with a minimum of control characters.
Tuple Fields
0: &'a [ANSIGenericString<'a, S>]
Implementations
Trait Implementations
sourceimpl<'a, S: Debug + 'a + ToOwned + ?Sized> Debug for ANSIGenericStrings<'a, S> where
<S as ToOwned>::Owned: Debug,
S: PartialEq,
impl<'a, S: Debug + 'a + ToOwned + ?Sized> Debug for ANSIGenericStrings<'a, S> where
<S as ToOwned>::Owned: Debug,
S: PartialEq,
sourceimpl<'a, S: PartialEq + 'a + ToOwned + ?Sized> PartialEq<ANSIGenericStrings<'a, S>> for ANSIGenericStrings<'a, S> where
<S as ToOwned>::Owned: Debug,
S: PartialEq,
impl<'a, S: PartialEq + 'a + ToOwned + ?Sized> PartialEq<ANSIGenericStrings<'a, S>> for ANSIGenericStrings<'a, S> where
<S as ToOwned>::Owned: Debug,
S: PartialEq,
sourcefn eq(&self, other: &ANSIGenericStrings<'a, S>) -> bool
fn eq(&self, other: &ANSIGenericStrings<'a, S>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ANSIGenericStrings<'a, S>) -> bool
fn ne(&self, other: &ANSIGenericStrings<'a, S>) -> bool
This method tests for !=
.
impl<'a, S: 'a + ToOwned + ?Sized> StructuralPartialEq for ANSIGenericStrings<'a, S> where
<S as ToOwned>::Owned: Debug,
S: PartialEq,
Auto Trait Implementations
impl<'a, S: ?Sized> RefUnwindSafe for ANSIGenericStrings<'a, S> where
S: RefUnwindSafe,
<S as ToOwned>::Owned: RefUnwindSafe,
impl<'a, S: ?Sized> Send for ANSIGenericStrings<'a, S> where
S: Sync,
<S as ToOwned>::Owned: Sync,
impl<'a, S: ?Sized> Sync for ANSIGenericStrings<'a, S> where
S: Sync,
<S as ToOwned>::Owned: Sync,
impl<'a, S: ?Sized> Unpin for ANSIGenericStrings<'a, S>
impl<'a, S: ?Sized> UnwindSafe for ANSIGenericStrings<'a, S> where
S: RefUnwindSafe,
<S as ToOwned>::Owned: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more