Struct ssbh_lib::Ssbh[][src]

pub struct Ssbh {
    pub data: SsbhFile,
}
Expand description

The container type for the various SSBH formats.

Fields

data: SsbhFile

Implementations

Tries to read one of the SSBH types from path. The entire file is buffered for performance.

Tries to read one of the SSBH types from reader. For best performance when opening from a file, use from_file instead.

For best performance when writing to a file, use write_to_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.