pub struct StdioSink {
pub is_tty: bool,
}
Expand description
StdioSink
sends output to standard output and standard error.
Fields§
§is_tty: bool
Indicates this sink is connected to a tty, and can support raw terminal mode.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StdioSink
impl RefUnwindSafe for StdioSink
impl Send for StdioSink
impl Sync for StdioSink
impl Unpin for StdioSink
impl UnwindSafe for StdioSink
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)