pub struct NodeContext<'a> {
pub in_connected: u64,
pub out_connected: u64,
pub params: &'a [ProcBuf],
}Expand description
A context structure that holds temporary information about the currently executed node. This structure is created by the crate::nodes::NodeExecutor on the fly.
Fields§
§in_connected: u64The bitmask that indicates which input ports are used/connected to some output.
out_connected: u64The bitmask that indicates which output ports are used/connected to some input.
params: &'a [ProcBuf]The node parameters, which are usually not accessed directly.
Auto Trait Implementations§
impl<'a> Freeze for NodeContext<'a>
impl<'a> RefUnwindSafe for NodeContext<'a>
impl<'a> Send for NodeContext<'a>
impl<'a> Sync for NodeContext<'a>
impl<'a> Unpin for NodeContext<'a>
impl<'a> UnwindSafe for NodeContext<'a>
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