Struct cranelift_isle::sema::Field
source · pub struct Field {
pub name: Sym,
pub id: FieldId,
pub ty: TypeId,
}
Expand description
A field of a Variant
.
Fields§
§name: Sym
The name of this field.
id: FieldId
This field’s id.
ty: TypeId
The type of this field.
Trait Implementations§
source§impl PartialEq<Field> for Field
impl PartialEq<Field> for Field
impl Eq for Field
impl StructuralEq for Field
impl StructuralPartialEq for Field
Auto Trait Implementations§
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnwindSafe for Field
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