pub struct AudioFlow;Expand description
Audio domain Flow — read-only projection of the audio domain.
Trait Implementations§
Source§impl Flow for AudioFlow
impl Flow for AudioFlow
Source§fn cache_key(&self, world: &World, _runtime: &Runtime) -> Option<u64>
fn cache_key(&self, world: &World, _runtime: &Runtime) -> Option<u64>
The projection below reads only AudioSource / AudioListener
(Audio domain) and GlobalTransform (Spatial domain) — no runtime
state — so those two epochs (plus the World instance id) fully
determine the view.
Source§const DOMAIN: SemanticDomain = SemanticDomain::Audio
const DOMAIN: SemanticDomain = SemanticDomain::Audio
Domain identifier — matches the agent’s domain.
Source§type View = AudioView
type View = AudioView
The typed view this Flow publishes into the LaneBus.
Clone so the
registration trampoline can republish a cached view without
re-running select/project (views hold Arcs and plain data, so
cloning is cheap relative to a full re-projection).Auto Trait Implementations§
impl Freeze for AudioFlow
impl RefUnwindSafe for AudioFlow
impl Send for AudioFlow
impl Sync for AudioFlow
impl Unpin for AudioFlow
impl UnsafeUnpin for AudioFlow
impl UnwindSafe for AudioFlow
Blanket Implementations§
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