pub enum Sort {
Base(BaseSort),
Func {
inputs: Vec<BaseSort>,
output: BaseSort,
},
Infer,
}
Variants§
Base(BaseSort)
A base sort, e.g., int
or bool
.
Func
A function sort of the form (bi,...) -> bo
where bi..
and bo
are all base sorts.
Infer
A sort that needs to be inferred.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Sort
impl RefUnwindSafe for Sort
impl Send for Sort
impl Sync for Sort
impl Unpin for Sort
impl UnwindSafe for Sort
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