Struct editor::Field [] [src]

pub struct Field {
    pub name: Arc<String>,
    pub ty: Type,
    pub index: usize,
    pub array: usize,
}

Field information.

Fields

name: Arc<String>

The name of field.

ty: Type

The type of the field.

index: usize

The index within array, 0 for normal fields.

array: usize

0 for a normal named field, length for array.