Struct jit::Field [] [src]

pub struct Field<'a> {
    pub index: c_uint,
    // some fields omitted

A single field of a struct



The index of the field


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

Trait Implementations

Derived Implementations

impl<'a> PartialEq for Field<'a>

fn eq(&self, __arg_0: &Field<'a>) -> bool

fn ne(&self, __arg_0: &Field<'a>) -> bool