pub enum Def<T> {
Let(Vec<(String, Exp<T>)>),
Fn(String, Vec<(String, T)>, Exp<T>),
TClosure(String, Exp<T>),
RTClosure(String, Exp<T>),
Flag(Check, Exp<T>, String),
Check(Check, Exp<T>, Option<String>),
Show(Vec<String>),
ShowAs(Exp<T>, String),
Unshow(Vec<String>),
Set(String),
Relation(String),
}Variants§
Let(Vec<(String, Exp<T>)>)
Fn(String, Vec<(String, T)>, Exp<T>)
TClosure(String, Exp<T>)
RTClosure(String, Exp<T>)
Flag(Check, Exp<T>, String)
Check(Check, Exp<T>, Option<String>)
Show(Vec<String>)
ShowAs(Exp<T>, String)
Unshow(Vec<String>)
Set(String)
Relation(String)
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Def<T>where
T: Freeze,
impl<T> RefUnwindSafe for Def<T>where
T: RefUnwindSafe,
impl<T> Send for Def<T>where
T: Send,
impl<T> Sync for Def<T>where
T: Sync,
impl<T> Unpin for Def<T>where
T: Unpin,
impl<T> UnwindSafe for Def<T>where
T: UnwindSafe,
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