pub struct ConnectionSnapshot {
pub from_block: usize,
pub from_output: usize,
pub to_block: usize,
pub to_input: usize,
}Expand description
Snapshot of a connection for visualization.
Fields§
§from_block: usizeSource block ID.
from_output: usizeSource output port index.
to_block: usizeDestination block ID.
to_input: usizeDestination input port index.
Trait Implementations§
Source§impl Clone for ConnectionSnapshot
impl Clone for ConnectionSnapshot
Source§fn clone(&self) -> ConnectionSnapshot
fn clone(&self) -> ConnectionSnapshot
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 ConnectionSnapshot
impl RefUnwindSafe for ConnectionSnapshot
impl Send for ConnectionSnapshot
impl Sync for ConnectionSnapshot
impl Unpin for ConnectionSnapshot
impl UnwindSafe for ConnectionSnapshot
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