Enum cranelift_isle::sema::TermKind
source · pub enum TermKind {
EnumVariant {
variant: VariantId,
},
Decl {
flags: TermFlags,
constructor_kind: Option<ConstructorKind>,
extractor_kind: Option<ExtractorKind>,
},
}
Expand description
The kind of a term.
Variants§
EnumVariant
An enum variant constructor or extractor.
Fields
Decl
A term declared via a (decl ...)
form.
Fields
§
constructor_kind: Option<ConstructorKind>
The kind of this term’s constructor, if any.
§
extractor_kind: Option<ExtractorKind>
The kind of this term’s extractor, if any.
Trait Implementations§
impl Eq for TermKind
impl StructuralPartialEq for TermKind
Auto Trait Implementations§
impl Freeze for TermKind
impl RefUnwindSafe for TermKind
impl Send for TermKind
impl Sync for TermKind
impl Unpin for TermKind
impl UnwindSafe for TermKind
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)