Trait mun_memory::TypeFields[][src]

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)>[src]

Returns the type’s fields.

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

Returns the type’s fields’ offsets.

Loading content...

Implementors

Loading content...