[][src]Trait mun_memory::TypeFields

pub trait TypeFields<T>: Send + Sync {
    fn fields(&self) -> Vec<(&str, T)>;
fn offsets(&self) -> &[u16]; }

A trait used to obtain a type's fields.

Required methods

fn fields(&self) -> Vec<(&str, T)>

Returns the type's fields.

fn offsets(&self) -> &[u16]

Returns the type's fields' offsets.

Loading content...

Implementors

Loading content...