pub struct ConverterOutputStreamBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct ConverterOutputStream
objects.
Implementations§
Source§impl ConverterOutputStreamBuilder
impl ConverterOutputStreamBuilder
pub fn converter(self, converter: &impl IsA<Converter>) -> Self
pub fn base_stream(self, base_stream: &impl IsA<OutputStream>) -> Self
pub fn close_base_stream(self, close_base_stream: bool) -> Self
Sourcepub fn build(self) -> ConverterOutputStream
pub fn build(self) -> ConverterOutputStream
Build the ConverterOutputStream
.
Auto Trait Implementations§
impl Freeze for ConverterOutputStreamBuilder
impl RefUnwindSafe for ConverterOutputStreamBuilder
impl !Send for ConverterOutputStreamBuilder
impl !Sync for ConverterOutputStreamBuilder
impl Unpin for ConverterOutputStreamBuilder
impl UnwindSafe for ConverterOutputStreamBuilder
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