pub struct Compiled {
pub figure_fn: FigureFn,
pub errors: Vec<Real>,
pub context: Shared,
pub input_count: usize,
pub rule_errors: Vec<Real>,
}Expand description
The result of the compilation of a Math IR.
Fields§
§figure_fn: FigureFnThe figure function
errors: Vec<Real>Errors of each adjustable
context: SharedThe compile context. Can be used for further processing
input_count: usizeThe number of inputs of this figure.
rule_errors: Vec<Real>Errors of each rule (for debugging purposes)
Auto Trait Implementations§
impl !RefUnwindSafe for Compiled
impl !Send for Compiled
impl !Sync for Compiled
impl !UnwindSafe for Compiled
impl Freeze for Compiled
impl Unpin for Compiled
impl UnsafeUnpin for Compiled
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Convert for T
impl<T> Convert for T
Source§fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
Convert
self into a specific type. Read moreSource§fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
Check if
self can be converted into a specific type. Read more