pub struct PartialEval {
pub known: Function,
pub unknown: Function,
pub out_known: Vec<bool>,
pub num_residuals: usize,
}Expand description
The two parts of a function split by partial_eval.
Fields§
§known: FunctionTakes the known inputs and returns the known outputs, then the residuals.
unknown: FunctionTakes the residuals, then the unknown inputs, and returns the unknown outputs.
out_known: Vec<bool>Which outputs are known.
num_residuals: usizeThe number of residuals.
Trait Implementations§
Source§impl Clone for PartialEval
impl Clone for PartialEval
Auto Trait Implementations§
impl !RefUnwindSafe for PartialEval
impl !UnwindSafe for PartialEval
impl Freeze for PartialEval
impl Send for PartialEval
impl Sync for PartialEval
impl Unpin for PartialEval
impl UnsafeUnpin for PartialEval
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