pub struct NodeHop<'graph, DATA> { /* private fields */ }
Implementations§
Source§impl<'graph, DATA> NodeHop<'graph, DATA>where
DATA: Clone,
impl<'graph, DATA> NodeHop<'graph, DATA>where
DATA: Clone,
pub const fn new(schematic: &'graph Schematic<DATA>, index: NodeIndex) -> Self
pub fn downstreams(&self) -> Connections<'graph, DATA> ⓘ
pub fn upstreams(&self) -> Connections<'graph, DATA> ⓘ
pub fn into_outputs(self) -> Ports<'graph, DATA> ⓘ
pub fn into_inputs(self) -> Ports<'graph, DATA> ⓘ
pub fn name(&self) -> &str
pub const fn index(&self) -> NodeIndex
pub fn inner(&self) -> &'graph Node<DATA>
pub fn kind(&self) -> &NodeKind
Trait Implementations§
Auto Trait Implementations§
impl<'graph, DATA> Freeze for NodeHop<'graph, DATA>
impl<'graph, DATA> RefUnwindSafe for NodeHop<'graph, DATA>where
DATA: RefUnwindSafe,
impl<'graph, DATA> Send for NodeHop<'graph, DATA>where
DATA: Sync,
impl<'graph, DATA> Sync for NodeHop<'graph, DATA>where
DATA: Sync,
impl<'graph, DATA> Unpin for NodeHop<'graph, DATA>
impl<'graph, DATA> UnwindSafe for NodeHop<'graph, DATA>where
DATA: RefUnwindSafe,
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