Enum termcolor::BufferInner
source · pub(crate) enum BufferInner {
NoColor(NoColor<Vec<u8>>),
Ansi(Ansi<Vec<u8>>),
}
Expand description
BufferInner is an enumeration of different buffer types.
Variants§
NoColor(NoColor<Vec<u8>>)
No coloring information should be applied. This ignores all coloring directives.
Ansi(Ansi<Vec<u8>>)
Apply coloring using ANSI escape sequences embedded into the buffer.
Trait Implementations§
source§impl Clone for BufferInner
impl Clone for BufferInner
source§fn clone(&self) -> BufferInner
fn clone(&self) -> BufferInner
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for BufferInner
impl RefUnwindSafe for BufferInner
impl Send for BufferInner
impl Sync for BufferInner
impl Unpin for BufferInner
impl UnwindSafe for BufferInner
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