pub struct ClosureFiller<'a, P, Event>{ /* private fields */ }
Expand description
An easy-to-use implementation of TableFiller
that is constructed with a closure.
Using this TableFiller
implementation carries some overhead, so it is best to use it only
for testing.
Implementations§
Source§impl<'a, P: PackedField<Scalar: TowerField>, Event> ClosureFiller<'a, P, Event>
impl<'a, P: PackedField<Scalar: TowerField>, Event> ClosureFiller<'a, P, Event>
Trait Implementations§
Source§impl<P: PackedField<Scalar: TowerField>, Event: Clone> TableFiller<P> for ClosureFiller<'_, P, Event>
impl<P: PackedField<Scalar: TowerField>, Event: Clone> TableFiller<P> for ClosureFiller<'_, P, Event>
Auto Trait Implementations§
impl<'a, P, Event> Freeze for ClosureFiller<'a, P, Event>where
<P as PackedField>::Scalar: Sized,
<<P as PackedField>::Scalar as WithUnderlier>::Underlier: Sized,
impl<'a, P, Event> !RefUnwindSafe for ClosureFiller<'a, P, Event>
impl<'a, P, Event> !Send for ClosureFiller<'a, P, Event>
impl<'a, P, Event> !Sync for ClosureFiller<'a, P, Event>
impl<'a, P, Event> Unpin for ClosureFiller<'a, P, Event>where
<P as PackedField>::Scalar: Sized,
<<P as PackedField>::Scalar as WithUnderlier>::Underlier: Sized,
impl<'a, P, Event> !UnwindSafe for ClosureFiller<'a, P, Event>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more