Home
last modified time | relevance | path

Searched refs:StandardStreamLock (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/termcolor/src/
Dlib.rs410 pub struct StandardStreamLock<'a> { struct
483 pub fn lock(&self) -> StandardStreamLock<'_> { in lock()
484 StandardStreamLock::from_stream(self) in lock()
488 impl<'a> StandardStreamLock<'a> { impl
490 fn from_stream(stream: &StandardStream) -> StandardStreamLock<'_> { in from_stream()
499 StandardStreamLock { wtr: stream.wtr.wrap(locked) } in from_stream()
503 fn from_stream(stream: &StandardStream) -> StandardStreamLock { in from_stream() argument
519 StandardStreamLock { wtr: stream.wtr.wrap(locked) } in from_stream()
639 impl<'a> io::Write for StandardStreamLock<'a> { implementation
651 impl<'a> WriteColor for StandardStreamLock<'a> { implementation
/external/rust/crates/termcolor/
DREADME.md32 `StandardStream` and `StandardStreamLock` both satisfy `WriteColor` and are