Struct 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 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§
source§impl<'a, S> Debug for ANSIGenericStrings<'a, S>where
<S as ToOwned>::Owned: Debug,
S: PartialEq + Debug + 'a + ToOwned + ?Sized,
impl<'a, S> Debug for ANSIGenericStrings<'a, S>where <S as ToOwned>::Owned: Debug, S: PartialEq + Debug + 'a + ToOwned + ?Sized,
source§impl<'a, S> PartialEq<ANSIGenericStrings<'a, S>> for ANSIGenericStrings<'a, S>where
<S as ToOwned>::Owned: Debug,
S: PartialEq + PartialEq + 'a + ToOwned + ?Sized,
impl<'a, S> PartialEq<ANSIGenericStrings<'a, S>> 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
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>where <S as ToOwned>::Owned: Debug, S: PartialEq + 'a + ToOwned + ?Sized,
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§
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