pub enum BubFnsBlock<'a, S: Sample> {
    Lpcm {
        bub_fns: &'a [u8],
        next_head_relative_frame: Option<u64>,
        samples: Vec<S>,
    },
    Expr {
        bub_fns: &'a [u8],
        foot_relative_frame: u64,
        next_head_relative_frame: Option<u64>,
        expression: &'a [u8],
    },
}

Variants

Lpcm

Fields

bub_fns: &'a [u8]
next_head_relative_frame: Option<u64>
samples: Vec<S>

Expr

Fields

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.