pub struct HrirWriteSpec<'a> {
pub representation: &'a str,
pub taps: u32,
pub receivers: u32,
pub measurements: u32,
pub impulse_sample_rate: RationalRate,
pub delay_reference: &'a str,
pub sofa_convention: Option<&'a str>,
pub units: &'a str,
pub delays_samples: Option<&'a [f64]>,
pub source_positions_xyz: Option<&'a [[f32; 3]]>,
pub receiver_positions_xyz: Option<&'a [[f32; 3]]>,
pub measurement_cadence: Option<(&'a ClockSpec, RationalRate)>,
}Expand description
Static or temporally indexed HRIR/RIR payload specification.
Fields§
§representation: &'a str§taps: u32§receivers: u32§measurements: u32§impulse_sample_rate: RationalRate§delay_reference: &'a str§sofa_convention: Option<&'a str>§units: &'a str§delays_samples: Option<&'a [f64]>§source_positions_xyz: Option<&'a [[f32; 3]]>§receiver_positions_xyz: Option<&'a [[f32; 3]]>§measurement_cadence: Option<(&'a ClockSpec, RationalRate)>Present ONLY when measurements form a uniform time series (distinct from impulse_sample_rate).
Trait Implementations§
Source§impl<'a> Clone for HrirWriteSpec<'a>
impl<'a> Clone for HrirWriteSpec<'a>
Auto Trait Implementations§
impl<'a> Freeze for HrirWriteSpec<'a>
impl<'a> RefUnwindSafe for HrirWriteSpec<'a>
impl<'a> Send for HrirWriteSpec<'a>
impl<'a> Sync for HrirWriteSpec<'a>
impl<'a> Unpin for HrirWriteSpec<'a>
impl<'a> UnsafeUnpin for HrirWriteSpec<'a>
impl<'a> UnwindSafe for HrirWriteSpec<'a>
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> ⓘ
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