#[repr(C, align(64))]pub struct VoiceDescriptorSlot {
pub sequence_number: u32,
pub entity_id: u32,
pub amplitude: f32,
pub pan_room_send: f32,
pub world_position: [f32; 3],
pub acoustic_coeffs: [f32; 3],
pub padding: [u32; 6],
}Expand description
64-byte cache-line-aligned voice descriptor slot with monotonic SeqLock synchronization.
Fields§
§sequence_number: u32Monotonic sequence counter: odd = write in progress, even = valid consistent state.
entity_id: u32Entity emitting this voice.
amplitude: f32Voice amplitude (linear).
pan_room_send: f32Stereo pan / room-send blend for the voice.
world_position: [f32; 3]Emitter position in world space.
acoustic_coeffs: [f32; 3]Jakob-Hanika dual polynomial coefficients (c0, c1, c2) for spectral material response.
padding: [u32; 6]Implementations§
Trait Implementations§
Source§impl Clone for VoiceDescriptorSlot
impl Clone for VoiceDescriptorSlot
impl Copy for VoiceDescriptorSlot
Source§impl Debug for VoiceDescriptorSlot
impl Debug for VoiceDescriptorSlot
Source§impl PartialEq for VoiceDescriptorSlot
impl PartialEq for VoiceDescriptorSlot
impl Pod for VoiceDescriptorSlot
impl StructuralPartialEq for VoiceDescriptorSlot
Auto Trait Implementations§
impl Freeze for VoiceDescriptorSlot
impl RefUnwindSafe for VoiceDescriptorSlot
impl Send for VoiceDescriptorSlot
impl Sync for VoiceDescriptorSlot
impl Unpin for VoiceDescriptorSlot
impl UnsafeUnpin for VoiceDescriptorSlot
impl UnwindSafe for VoiceDescriptorSlot
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