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
sourceimpl<'a> AnsiGenericStrings<'a, [u8]>
impl<'a> AnsiGenericStrings<'a, [u8]>
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more