pub struct StreamIoBuilder { /* private fields */ }
Implementations
sourceimpl StreamIoBuilder
impl StreamIoBuilder
pub fn new() -> StreamIoBuilder
pub fn add_input(self, name: &str, item_size: usize) -> StreamIoBuilder
pub fn add_output(self, name: &str, item_size: usize) -> StreamIoBuilder
pub fn tag_propagation<F: FnMut(&mut [StreamInput], &mut [StreamOutput]) + Send + 'static>(
self,
f: F
) -> StreamIoBuilder
pub fn build(self) -> StreamIo
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for StreamIoBuilder
impl Send for StreamIoBuilder
impl !Sync for StreamIoBuilder
impl Unpin for StreamIoBuilder
impl !UnwindSafe for StreamIoBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more