pub struct Term_ {
pub sort: u8,
pub binders: Range<usize>,
pub ret_type: Var_,
pub unify_commands: Range<usize>,
}Fields§
§sort: u8§binders: Range<usize>§ret_type: Var_§unify_commands: Range<usize>Trait Implementations§
Source§impl Term for Term_
impl Term for Term_
type Type = Var_
Source§fn is_definition(&self) -> bool
fn is_definition(&self) -> bool
Source§fn binders(&self) -> Range<usize>
fn binders(&self) -> Range<usize>
Returns the range of the binders (arguments) of the term. Read more
Source§fn return_type(&self) -> &Self::Type
fn return_type(&self) -> &Self::Type
Returns the type of the expression.
Source§fn command_stream(&self) -> Range<usize>
fn command_stream(&self) -> Range<usize>
Returns the unification command stream if this term is a definition.
impl Eq for Term_
impl StructuralPartialEq for Term_
Auto Trait Implementations§
impl Freeze for Term_
impl RefUnwindSafe for Term_
impl Send for Term_
impl Sync for Term_
impl Unpin for Term_
impl UnwindSafe for Term_
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