#[repr(C)]pub struct SpectralV2SubHeader {
pub magic: u32,
pub n_mel: u32,
pub n_mfcc: u32,
}Expand description
Fixed 12-byte sub-header introducing the appended v2 planes. Sits immediately
after plane-0 (header + frame_count × bin_count f32); followed by the mel
plane (frame_count × n_mel f32) then the MFCC plane (frame_count × n_mfcc
f32). All f32, row-major by frame.
Fields§
§magic: u32§n_mel: u32§n_mfcc: u32Implementations§
Trait Implementations§
Source§impl Clone for SpectralV2SubHeader
impl Clone for SpectralV2SubHeader
impl Copy for SpectralV2SubHeader
Source§impl Debug for SpectralV2SubHeader
impl Debug for SpectralV2SubHeader
Source§impl PartialEq for SpectralV2SubHeader
impl PartialEq for SpectralV2SubHeader
impl Pod for SpectralV2SubHeader
impl StructuralPartialEq for SpectralV2SubHeader
Auto Trait Implementations§
impl Freeze for SpectralV2SubHeader
impl RefUnwindSafe for SpectralV2SubHeader
impl Send for SpectralV2SubHeader
impl Sync for SpectralV2SubHeader
impl Unpin for SpectralV2SubHeader
impl UnsafeUnpin for SpectralV2SubHeader
impl UnwindSafe for SpectralV2SubHeader
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
impl<T> AnyBitPattern for Twhere
T: Pod,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
impl<T> Interleave for Twhere
T: Pod,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more