pub struct BubMetadata {
Show 13 fields pub spec_version: u8, pub bub_id: BubID, pub bub_version: u16, pub frames: u64, pub samples_per_sec: f64, pub lpcm_kind: LpcmKind, pub bub_sample_kind: BubSampleKind, pub name: String, pub bub_state: BubState, pub head_absolute_frame: u64, pub bub_fns: BubFns, pub foot_absolute_frame_plus_one: u64, pub next_head_absolute_frame: Option<u64>,
}

Fields

spec_version: u8

Version of Bubble File Format Specification.

bub_id: BubID

Bubble ID

bub_version: u16

Version of Bubble

frames: u64

Number of frames

samples_per_sec: f64

Samples Per Sec

lpcm_kind: LpcmKind

Bits Per Sample

bub_sample_kind: BubSampleKind

Bubble LPCM Kind

name: String

Name of Bubble

bub_state: BubState

Bubble State

head_absolute_frame: u64

Head Absolute Frame

bub_fns: BubFns

Bubble Functions

foot_absolute_frame_plus_one: u64

Foot Absolute Frame Plus One

next_head_absolute_frame: Option<u64>

Next Head Absolute Frame None if 0.

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.