pub struct NodeRecord {
pub processor: Box<dyn DspNode>,
pub inputs: [Option<NodeId>; 8],
pub output_buffer: BufferId,
pub params: ParamBlock,
}Expand description
Graph-level node record. Stored in the arena.
Fields§
§processor: Box<dyn DspNode>The DSP implementation (boxed, allocated at node creation time — not in RT).
inputs: [Option<NodeId>; 8]Input connections: each slot holds the NodeId of the upstream node.
output_buffer: BufferIdThe buffer this node writes its output into.
params: ParamBlockParameter block for this node.
Implementations§
Auto Trait Implementations§
impl Freeze for NodeRecord
impl !RefUnwindSafe for NodeRecord
impl Send for NodeRecord
impl !Sync for NodeRecord
impl Unpin for NodeRecord
impl UnsafeUnpin for NodeRecord
impl !UnwindSafe for NodeRecord
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
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