pub struct StructMember {
    pub name: Option<String>,
    pub type_id: u32,
    pub offset: Option<u32>,
    pub row_major: bool,
    pub stride: u32,
}
Expand description

Describes a single member of a Type::Struct type

Fields

name: Option<String>

The name of the member variable (if known)

type_id: u32

The type id of the member’s Type

offset: Option<u32>

The offset within the struct of this member (if known)

row_major: bool

For matrix members: whether this matrix is stored in row major order

stride: u32

For matrix members: The stride between rows/columns of the matrix

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.