pub struct GraphSnapshot {
pub graph: AudioGraph,
pub master_id: NodeId,
}Expand description
An immutable snapshot of the audio graph, shared between threads via Arc. The audio thread reads this; the main thread clones, modifies, and swaps.
Fields§
§graph: AudioGraph§master_id: NodeIdID of the master output node (where we read final output).
Trait Implementations§
impl Send for GraphSnapshot
impl Sync for GraphSnapshot
Auto Trait Implementations§
impl !RefUnwindSafe for GraphSnapshot
impl !UnwindSafe for GraphSnapshot
impl Freeze for GraphSnapshot
impl Unpin for GraphSnapshot
impl UnsafeUnpin for GraphSnapshot
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