pub(in fmt) struct Buffer {
inner: Buffer,
has_uncolored_target: bool,
}
Fields§
§inner: Buffer
§has_uncolored_target: bool
Implementations§
source§impl Buffer
impl Buffer
pub(in fmt) fn clear( &mut self, )
pub(in fmt) fn write( &mut self, buf: &[u8], ) -> Result<usize>
pub(in fmt) fn flush( &mut self, ) -> Result<()>
pub(in fmt) fn as_bytes( &self, ) -> &[u8] ⓘ
pub(in fmt) fn set_color( &mut self, spec: &ColorSpec, ) -> Result<()>
pub(in fmt) fn reset( &mut self, ) -> Result<()>
Auto Trait Implementations§
impl Freeze for Buffer
impl RefUnwindSafe for Buffer
impl Send for Buffer
impl Sync for Buffer
impl Unpin for Buffer
impl UnwindSafe for Buffer
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