Struct nu_ansi_term::AnsiGenericStrings
source · pub struct AnsiGenericStrings<'a, S>(pub &'a [AnsiGenericString<'a, S>])
where
<S as ToOwned>::Owned: Debug,
S: PartialEq + 'a + ToOwned + ?Sized;
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§
source§impl<'a, S> Debug for AnsiGenericStrings<'a, S>
impl<'a, S> Debug for AnsiGenericStrings<'a, S>
source§impl<'a, S> PartialEq for AnsiGenericStrings<'a, S>
impl<'a, S> PartialEq for AnsiGenericStrings<'a, S>
source§fn 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 ==
.impl<'a, S> StructuralPartialEq for AnsiGenericStrings<'a, S>
Auto Trait Implementations§
impl<'a, S: ?Sized> RefUnwindSafe for AnsiGenericStrings<'a, S>
impl<'a, S: ?Sized> Send for AnsiGenericStrings<'a, S>
impl<'a, S: ?Sized> Sync for AnsiGenericStrings<'a, S>
impl<'a, S: ?Sized> Unpin for AnsiGenericStrings<'a, S>
impl<'a, S: ?Sized> UnwindSafe for AnsiGenericStrings<'a, S>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more