pub struct NameTable<'a> { /* private fields */ }
Expand description
The name table of the index defines the names and pointers to the declarations of sorts, terms and theorems in the proof file.
Implementations§
Source§impl<'a> NameTable<'a>
impl<'a> NameTable<'a>
Sourcepub fn sorts(&self) -> NameTableSection<'_>
pub fn sorts(&self) -> NameTableSection<'_>
Returns the subsection of the name table containing the sorts.
Sourcepub fn terms(&self) -> NameTableSection<'_>
pub fn terms(&self) -> NameTableSection<'_>
Returns the subsection of the name table containing the terms.
Sourcepub fn theorems(&self) -> NameTableSection<'_>
pub fn theorems(&self) -> NameTableSection<'_>
Returns the subsection of the name table containing the theorems.
Sourcepub fn iter(&self) -> NameIterator<'a> ⓘ
pub fn iter(&self) -> NameIterator<'a> ⓘ
Returns an iterator over all entries in the entire name table.
Trait Implementations§
Source§impl<'a> IntoIterator for &NameTable<'a>
impl<'a> IntoIterator for &NameTable<'a>
Auto Trait Implementations§
impl<'a> Freeze for NameTable<'a>
impl<'a> RefUnwindSafe for NameTable<'a>
impl<'a> Send for NameTable<'a>
impl<'a> Sync for NameTable<'a>
impl<'a> Unpin for NameTable<'a>
impl<'a> UnwindSafe for NameTable<'a>
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