#[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
Source§fn clone(&self) -> SpectralV2SubHeader
fn clone(&self) -> SpectralV2SubHeader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpectralV2SubHeader
impl Debug for SpectralV2SubHeader
Source§impl PartialEq for SpectralV2SubHeader
impl PartialEq for SpectralV2SubHeader
Source§fn eq(&self, other: &SpectralV2SubHeader) -> bool
fn eq(&self, other: &SpectralV2SubHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy 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.
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<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>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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