pub struct AcousticParams {
pub alpha: f32,
pub mu: f32,
pub position: [f32; 3],
pub track_v: f32,
pub manifold_w: f32,
pub epistemic_q: f32,
pub preview_bins: [f32; 64],
}Expand description
Scalar params extracted from a tensor node (no heap).
Fields§
§alpha: f32§mu: f32§position: [f32; 3]§track_v: f32§manifold_w: f32§epistemic_q: f32§preview_bins: [f32; 64]Implementations§
Source§impl AcousticParams
impl AcousticParams
pub fn from_tensor(t: &Tensor10D) -> Self
pub fn to_uniform(self, enabled: bool) -> AcousticUniform
Sourcepub fn to_phenomenal_uniform(
self,
enabled: bool,
t: &Tensor10D,
listener_yaw: f32,
) -> AcousticUniform
pub fn to_phenomenal_uniform( self, enabled: bool, t: &Tensor10D, listener_yaw: f32, ) -> AcousticUniform
Phenomenal uniform — σ oracle frequency (P-F2) aligned with portal_spectral.
Trait Implementations§
Source§impl Clone for AcousticParams
impl Clone for AcousticParams
Source§fn clone(&self) -> AcousticParams
fn clone(&self) -> AcousticParams
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 AcousticParams
impl Debug for AcousticParams
Source§impl PartialEq for AcousticParams
impl PartialEq for AcousticParams
Source§fn eq(&self, other: &AcousticParams) -> bool
fn eq(&self, other: &AcousticParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AcousticParams
impl StructuralPartialEq for AcousticParams
Auto Trait Implementations§
impl Freeze for AcousticParams
impl RefUnwindSafe for AcousticParams
impl Send for AcousticParams
impl Sync for AcousticParams
impl Unpin for AcousticParams
impl UnsafeUnpin for AcousticParams
impl UnwindSafe for AcousticParams
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
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