#[repr(C)]pub struct SofaHrirEntry {
pub azimuth_deg: f32,
pub elevation_deg: f32,
pub itd_samples: f32,
pub left_fir: [f32; 64],
pub right_fir: [f32; 64],
}Expand description
Compact SOFA HRIR measurement entry for one spherical direction.
Fields§
§azimuth_deg: f32Azimuth angle in degrees (-180.0 ..= 180.0 or 0.0 ..= 360.0).
elevation_deg: f32Elevation angle in degrees (-90.0 ..= 90.0).
itd_samples: f32Interaural Time Difference (ITD) in fractional samples.
left_fir: [f32; 64]Left ear finite impulse response taps.
right_fir: [f32; 64]Right ear finite impulse response taps.
Trait Implementations§
Source§impl Clone for SofaHrirEntry
impl Clone for SofaHrirEntry
impl Copy for SofaHrirEntry
Source§impl Debug for SofaHrirEntry
impl Debug for SofaHrirEntry
Source§impl PartialEq for SofaHrirEntry
impl PartialEq for SofaHrirEntry
impl Pod for SofaHrirEntry
impl StructuralPartialEq for SofaHrirEntry
Auto Trait Implementations§
impl Freeze for SofaHrirEntry
impl RefUnwindSafe for SofaHrirEntry
impl Send for SofaHrirEntry
impl Sync for SofaHrirEntry
impl Unpin for SofaHrirEntry
impl UnsafeUnpin for SofaHrirEntry
impl UnwindSafe for SofaHrirEntry
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