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