pub struct GraphTopologySnapshot {
pub blocks: Vec<BlockSnapshot>,
pub connections: Vec<ConnectionSnapshot>,
pub modulation_connections: Vec<ModulationConnectionSnapshot>,
}Expand description
Snapshot of a graph’s topology for visualization.
Contains all block metadata and connections at a point in time. This is an owned snapshot suitable for cross-thread transfer.
Fields§
§blocks: Vec<BlockSnapshot>All blocks in the graph.
connections: Vec<ConnectionSnapshot>All audio connections between blocks.
modulation_connections: Vec<ModulationConnectionSnapshot>All modulation connections from modulators to block parameters.
Trait Implementations§
Source§impl Clone for GraphTopologySnapshot
impl Clone for GraphTopologySnapshot
Source§fn clone(&self) -> GraphTopologySnapshot
fn clone(&self) -> GraphTopologySnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GraphTopologySnapshot
impl RefUnwindSafe for GraphTopologySnapshot
impl Send for GraphTopologySnapshot
impl Sync for GraphTopologySnapshot
impl Unpin for GraphTopologySnapshot
impl UnwindSafe for GraphTopologySnapshot
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