pub enum BubbleSample<'a, S: Sample> {
    LpcmHead {
        head_absolute_frame: u64,
        bub_fns: &'a [u8],
        foot_relative_frame: u64,
        next_head_relative_frame: Option<u64>,
        sample: S,
    },
    LpcmBody(S),
    Expr {
        head_absolute_frame: u64,
        bub_fns: &'a [u8],
        foot_relative_frame: u64,
        next_head_relative_frame: Option<u64>,
        expression: &'a [u8],
    },
}

Variants

LpcmHead

Fields

head_absolute_frame: u64
bub_fns: &'a [u8]
foot_relative_frame: u64
next_head_relative_frame: Option<u64>
sample: S

LpcmBody(S)

Expr

Fields

head_absolute_frame: u64
bub_fns: &'a [u8]
foot_relative_frame: u64
next_head_relative_frame: Option<u64>
expression: &'a [u8]

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 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.