Struct servo_media_audio::graph::Connection
source · struct Connection {
input_idx: PortIndex<InputPort>,
output_idx: PortIndex<OutputPort>,
cache: RefCell<Option<Block>>,
}
Expand description
A single connection between ports
Fields§
§input_idx: PortIndex<InputPort>
The index of the port on the input node This is actually the /output/ of this edge
output_idx: PortIndex<OutputPort>
The index of the port on the output node This is actually the /input/ of this edge
cache: RefCell<Option<Block>>
When the from node finishes processing, it will push its data into this cache for the input node to read
Implementations§
source§impl Connection
impl Connection
Auto Trait Implementations§
impl !Freeze for Connection
impl !RefUnwindSafe for Connection
impl Send for Connection
impl !Sync for Connection
impl Unpin for Connection
impl UnwindSafe for Connection
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