pub enum TermView<'a> {
Constant(&'a str),
Variable(&'a str),
Function(&'a str, Vec<TermView<'a>>),
Group(Vec<TermView<'a>>),
Possessed {
possessor: Box<TermView<'a>>,
possessed: &'a str,
},
Sigma(&'a str),
Intension(&'a str),
Proposition(Box<ExprView<'a>>),
Value {
kind: NumberKindView<'a>,
unit: Option<&'a str>,
dimension: Option<Dimension>,
},
}Expand description
View of a term with resolved symbol names.
Variants§
Constant(&'a str)
Variable(&'a str)
Function(&'a str, Vec<TermView<'a>>)
Group(Vec<TermView<'a>>)
Possessed
Sigma(&'a str)
Intension(&'a str)
Proposition(Box<ExprView<'a>>)
Value
Trait Implementations§
impl<'a> StructuralPartialEq for TermView<'a>
Auto Trait Implementations§
impl<'a> Freeze for TermView<'a>
impl<'a> RefUnwindSafe for TermView<'a>
impl<'a> Send for TermView<'a>
impl<'a> Sync for TermView<'a>
impl<'a> Unpin for TermView<'a>
impl<'a> UnwindSafe for TermView<'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