#[repr(C)]pub struct TimeFrequencyBox {
pub start_nanos: u64,
pub end_nanos: u64,
pub min_freq_hz: f32,
pub max_freq_hz: f32,
pub harmonic_mask: u32,
pub _padding: u32,
}Expand description
Time-frequency bounding box addressing continuous physical wave fields without intermediate text or Unicode transcription.
Fields§
§start_nanos: u64Start time offset in integer nanoseconds from block epoch
end_nanos: u64End time offset in integer nanoseconds from block epoch
min_freq_hz: f32Lower bound frequency in Hz (e.g. 50.0 Hz)
max_freq_hz: f32Upper bound frequency in Hz (e.g. 4000.0 Hz)
harmonic_mask: u32Harmonic overtone mask (e.g. fundamental F0 + F1..F3 formant pattern)
_padding: u32Alignment padding
Implementations§
Source§impl TimeFrequencyBox
impl TimeFrequencyBox
Sourcepub fn to_concept_token(&self, block_geodesic_h3: u64) -> u64
pub fn to_concept_token(&self, block_geodesic_h3: u64) -> u64
Computes a deterministic, collision-resistant 60-bit concept token directly from the time-frequency bounds and acoustic signature, with zero intermediate Unicode text.
Sourcepub fn overlaps(&self, other: &TimeFrequencyBox) -> bool
pub fn overlaps(&self, other: &TimeFrequencyBox) -> bool
Evaluates whether another time-frequency box overlaps in both time and frequency.
Sourcepub fn resonance_score(&self, other: &TimeFrequencyBox) -> f32
pub fn resonance_score(&self, other: &TimeFrequencyBox) -> f32
Evaluates harmonic resonance similarity score (0.0 to 1.0) between two acoustic boxes.
Trait Implementations§
Source§impl Clone for TimeFrequencyBox
impl Clone for TimeFrequencyBox
Source§fn clone(&self) -> TimeFrequencyBox
fn clone(&self) -> TimeFrequencyBox
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 moreimpl Copy for TimeFrequencyBox
Source§impl Debug for TimeFrequencyBox
impl Debug for TimeFrequencyBox
Source§impl Default for TimeFrequencyBox
impl Default for TimeFrequencyBox
Source§fn default() -> TimeFrequencyBox
fn default() -> TimeFrequencyBox
Returns the “default value” for a type. Read more
Source§impl PartialEq for TimeFrequencyBox
impl PartialEq for TimeFrequencyBox
impl StructuralPartialEq for TimeFrequencyBox
Auto Trait Implementations§
impl Freeze for TimeFrequencyBox
impl RefUnwindSafe for TimeFrequencyBox
impl Send for TimeFrequencyBox
impl Sync for TimeFrequencyBox
impl Unpin for TimeFrequencyBox
impl UnsafeUnpin for TimeFrequencyBox
impl UnwindSafe for TimeFrequencyBox
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§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.