pub struct Adjusted {
pub variables: Vec<Expr<()>>,
pub rules: Vec<Rule>,
pub entities: Vec<EntityKind>,
}
Expand description
The adjusted (optimized) part of IR.
Fields§
§variables: Vec<Expr<()>>
Expressions needed for rules and entities.
rules: Vec<Rule>
Rules binding the figure
entities: Vec<EntityKind>
Entities of the figure.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Adjusted
impl RefUnwindSafe for Adjusted
impl Send for Adjusted
impl Sync for Adjusted
impl Unpin for Adjusted
impl UnwindSafe for Adjusted
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
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