Struct ansi_term::ANSIGenericStrings
source · [−]pub struct ANSIGenericStrings<'a, S: 'a + ToOwned + ?Sized>(pub &'a [ANSIGenericString<'a, S>])
where
<S as ToOwned>::Owned: Debug;
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
sourceimpl<'a> ANSIGenericStrings<'a, [u8]>
impl<'a> ANSIGenericStrings<'a, [u8]>
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