Struct jit::Field
[−]
[src]
pub struct Field<'a> { pub index: c_uint, // some fields omitted }
A single field of a struct
Fields
index | The index of the field |
Methods
impl<'a> Field<'a>
fn get_name(&self) -> Option<&'a str>
Get the field's name or none if it lacks one
fn get_type(&self) -> &'a Ty
Get the type of the field
fn get_offset(&self) -> usize
Get the offset of the field