Struct arret_runtime::class_map::Field [−][src]
#[repr(C)]pub struct Field { /* fields omitted */ }
Type information for a class’ field
Implementations
impl Field
[src]
impl Field
[src]pub fn new(field_type: FieldType, offset: usize) -> Field
[src]
Constructs a new instance with the given field type and offset
pub fn field_type(self) -> FieldType
[src]
Type information for the class field
pub fn offset(self) -> usize
[src]
Offset in bytes of the class field from the start of the record data
pub fn is_last(self) -> bool
[src]
Returns if this is the last field in the class