pub struct GeneralBuilder<E, C, P>{ /* private fields */ }
Expand description
general buffer trigger builer
Implementations§
Source§impl<E, C, P> Builder<E, C, P>
impl<E, C, P> Builder<E, C, P>
Sourcepub fn get_container(self, get_container: fn(&mut Option<P>) -> &mut C) -> Self
pub fn get_container(self, get_container: fn(&mut Option<P>) -> &mut C) -> Self
set get_container
Sourcepub fn get_and_clear_container(
self,
get_and_clear_container: fn(&mut Option<P>) -> C,
) -> Self
pub fn get_and_clear_container( self, get_and_clear_container: fn(&mut Option<P>) -> C, ) -> Self
set get_and_clear_container
Sourcepub fn accumulator(self, accumulator: fn(&mut C, E)) -> Self
pub fn accumulator(self, accumulator: fn(&mut C, E)) -> Self
set accumulator
Trait Implementations§
Auto Trait Implementations§
impl<E, C, P> Freeze for Builder<E, C, P>where
P: Freeze,
impl<E, C, P> RefUnwindSafe for Builder<E, C, P>where
P: RefUnwindSafe,
impl<E, C, P> Send for Builder<E, C, P>
impl<E, C, P> Sync for Builder<E, C, P>where
P: Sync,
impl<E, C, P> Unpin for Builder<E, C, P>where
P: Unpin,
impl<E, C, P> UnwindSafe for Builder<E, C, P>where
P: 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