pub struct OStream<W: Write>(/* private fields */);
Expand description
TODO: add https://doc.rust-lang.org/std/fmt/struct.FormattingOptions.html field
Implementations§
Trait Implementations§
Source§impl From<StringStream> for OStream<StringStream>
impl From<StringStream> for OStream<StringStream>
Source§fn from(value: StringStream) -> Self
fn from(value: StringStream) -> Self
Converts to this type from the input type.
Source§impl<W: Write> IntoOStream for OStream<W>
impl<W: Write> IntoOStream for OStream<W>
Auto Trait Implementations§
impl<W> Freeze for OStream<W>where
W: Freeze,
impl<W> RefUnwindSafe for OStream<W>where
W: RefUnwindSafe,
impl<W> Send for OStream<W>where
W: Send,
impl<W> Sync for OStream<W>where
W: Sync,
impl<W> Unpin for OStream<W>where
W: Unpin,
impl<W> UnwindSafe for OStream<W>where
W: UnwindSafe,
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