pub struct Evaluator<'input, 'cache, 'prev, 'scratch, 'rand> { /* private fields */ }
Expand description
Evaluates the supplied input.
Implementations§
Source§impl<'input, 'cache, 'prev, 'scratch, 'rand> Evaluator<'input, 'cache, 'prev, 'scratch, 'rand>
impl<'input, 'cache, 'prev, 'scratch, 'rand> Evaluator<'input, 'cache, 'prev, 'scratch, 'rand>
Sourcepub const fn new(
utf8: &'input [u8],
cache: &'cache mut Cache<Ratio<BigInt>, 8>,
prev: &'prev mut Option<Ratio<BigInt>>,
scratch: &'scratch mut Vec<Ratio<BigInt>>,
rng: &'rand mut ThreadRng,
) -> Self
pub const fn new( utf8: &'input [u8], cache: &'cache mut Cache<Ratio<BigInt>, 8>, prev: &'prev mut Option<Ratio<BigInt>>, scratch: &'scratch mut Vec<Ratio<BigInt>>, rng: &'rand mut ThreadRng, ) -> Self
Creates an Evaluator<'input, 'cache, 'prev, 'scratch, 'rand>
based on the supplied arguments.
Trait Implementations§
Auto Trait Implementations§
impl<'input, 'cache, 'prev, 'scratch, 'rand> Freeze for Evaluator<'input, 'cache, 'prev, 'scratch, 'rand>
impl<'input, 'cache, 'prev, 'scratch, 'rand> !RefUnwindSafe for Evaluator<'input, 'cache, 'prev, 'scratch, 'rand>
impl<'input, 'cache, 'prev, 'scratch, 'rand> !Send for Evaluator<'input, 'cache, 'prev, 'scratch, 'rand>
impl<'input, 'cache, 'prev, 'scratch, 'rand> !Sync for Evaluator<'input, 'cache, 'prev, 'scratch, 'rand>
impl<'input, 'cache, 'prev, 'scratch, 'rand> Unpin for Evaluator<'input, 'cache, 'prev, 'scratch, 'rand>
impl<'input, 'cache, 'prev, 'scratch, 'rand> !UnwindSafe for Evaluator<'input, 'cache, 'prev, 'scratch, 'rand>
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