pub struct Variable { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Named<VariableId> for Variable
impl Named<VariableId> for Variable
Source§impl WithExpr for Variable
impl WithExpr for Variable
fn expr(&self) -> &Option<Expr>
fn set_expr(&mut self, expr: Option<Expr>)
fn entries(&self) -> Entries
fn resolve_type_expr(&mut self, entries: &TypeEntries) -> Result<(), Error>
fn resolve_expr( &self, problem: &Problem, entries: &Entries, ) -> Result<Self, Error>
fn check_parameter_size(&self, problem: &Problem) -> Result<(), Error>
fn check_type(&self, problem: &Problem) -> Result<(), Error>
Source§impl WithType for Variable
impl WithType for Variable
fn typ(&self) -> &Type
fn set_type(&mut self, typ: Type)
fn resolve_type_children(&mut self, _: &TypeEntries) -> Result<(), Error>
fn check_interval_children(&self, _: &Problem) -> Result<(), Error>
fn resolve_type(&mut self, entries: &TypeEntries) -> Result<(), Error>
fn check_interval(&self, problem: &Problem) -> Result<(), Error>
Auto Trait Implementations§
impl Freeze for Variable
impl RefUnwindSafe for Variable
impl Send for Variable
impl Sync for Variable
impl Unpin for Variable
impl UnwindSafe for Variable
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