Enum cranelift_isle::ast::Def
source · pub enum Def {
Pragma(Pragma),
Type(Type),
Rule(Rule),
Extractor(Extractor),
Decl(Decl),
Extern(Extern),
Converter(Converter),
}
Expand description
One toplevel form in an ISLE file.
Variants§
Pragma(Pragma)
Type(Type)
Rule(Rule)
Extractor(Extractor)
Decl(Decl)
Extern(Extern)
Converter(Converter)
Trait Implementations§
impl Eq for Def
impl StructuralEq for Def
impl StructuralPartialEq for Def
Auto Trait Implementations§
impl RefUnwindSafe for Def
impl Send for Def
impl Sync for Def
impl Unpin for Def
impl UnwindSafe for Def
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