pub struct Table_ {
pub sorts: Vec<Sort_>,
pub theorems: Vec<Theorem_>,
pub terms: Vec<Term_>,
pub unify: Vec<Command<Unify>>,
pub binders: Vec<Var_>,
}
Fields§
§sorts: Vec<Sort_>
§theorems: Vec<Theorem_>
§terms: Vec<Term_>
§unify: Vec<Command<Unify>>
§binders: Vec<Var_>
Trait Implementations§
Source§impl Table for Table_
impl Table for Table_
type Sort = Sort_
type Term = Term_
type Theorem = Theorem_
type Var = Var_
fn sort(&self, idx: u8) -> Option<&Self::Sort>
fn nr_sorts(&self) -> u8
fn term(&self, idx: u32) -> Option<&Self::Term>
fn nr_terms(&self) -> u32
fn theorem(&self, idx: u32) -> Option<&Self::Theorem>
fn nr_theorems(&self) -> u32
fn unify_commands(&self, idx: Range<usize>) -> Option<&[Command<Unify>]>
fn unify_command(&self, idx: usize) -> Option<&Command<Unify>>
fn binders(&self, idx: Range<usize>) -> Option<&[Self::Var]>
impl Eq for Table_
impl StructuralPartialEq for Table_
Auto Trait Implementations§
impl Freeze for Table_
impl RefUnwindSafe for Table_
impl Send for Table_
impl Sync for Table_
impl Unpin for Table_
impl UnwindSafe for Table_
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