Struct cranelift_isle::ast::Decl
source · [−]pub struct Decl {
pub term: Ident,
pub arg_tys: Vec<Ident>,
pub ret_ty: Ident,
pub pure: bool,
pub pos: Pos,
}
Expand description
A declaration of a term with its argument and return types.
Fields
term: Ident
arg_tys: Vec<Ident>
ret_ty: Ident
pure: bool
Whether this term’s constructor is pure.
pos: Pos
Trait Implementations
impl Eq for Decl
impl StructuralEq for Decl
impl StructuralPartialEq for Decl
Auto Trait Implementations
impl RefUnwindSafe for Decl
impl Send for Decl
impl Sync for Decl
impl Unpin for Decl
impl UnwindSafe for Decl
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more