Struct ssbh_lib::formats::adj::MeshItem[][src]

pub struct MeshItem {
    pub mesh_index: i32,
    pub buffer_offset: u32,
}

Fields

mesh_index: i32buffer_offset: u32

The byte offset for the start of the indices for this MeshItem in buffer. The element count is calculated as the number of i16 between the current offset and the offset of the next MeshItem.

Trait Implementations

The type of arguments needed to be supplied in order to read this type, usually a tuple. Read more

Read the type from the reader

Read the type from the reader while assuming no arguments have been passed Read more

Read the type from the reader using the specified arguments

The default arguments to be used when using the read shortcut method. Override this for any type that optionally requries arguments Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. 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.