Struct nu_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 AnsiGenericStrings
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
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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