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

pub struct Adj {
    pub count: u32,
    pub items: Vec<MeshItem>,
    pub buffer: Vec<i16>,
}
Expand description

Mesh adjacency data for model.adjb files.

Fields

count: u32items: Vec<MeshItem>buffer: Vec<i16>

A shared buffer of indices for items

Implementations

Tries to read the given type from path. The entire file is buffered for performance.

Tries to read the given type from reader. For best performance when opening from a file, use from_file instead.

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.