Struct typeinfo::Field [] [src]

pub struct Field {
    pub ty: Type,
    pub name: String,
    pub offset: usize,
}

Field of a compound type: contains type, name and offset from the beginning of the struct.

Fields

field value type

field name

offset to the beginning of the struct

Methods

impl Field
[src]

Trait Implementations

impl Clone for Field
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Field
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Field
[src]

Formats the value using the given formatter.