Enum flow_graph::iterators::SchematicHop
source · #[non_exhaustive]pub enum SchematicHop<'graph, DATA>where
DATA: Clone,{
Node(NodeHop<'graph, DATA>),
Port(Port<'graph, DATA>),
Ports(Ports<'graph, DATA>),
Connections(Connections<'graph, DATA>),
Connection(ConnectionRef<'graph, DATA>),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Node(NodeHop<'graph, DATA>)
Port(Port<'graph, DATA>)
Ports(Ports<'graph, DATA>)
Connections(Connections<'graph, DATA>)
Connection(ConnectionRef<'graph, DATA>)
Trait Implementations§
source§impl<'graph, DATA> Clone for SchematicHop<'graph, DATA>where
DATA: Clone + Clone,
impl<'graph, DATA> Clone for SchematicHop<'graph, DATA>where DATA: Clone + Clone,
source§fn clone(&self) -> SchematicHop<'graph, DATA>
fn clone(&self) -> SchematicHop<'graph, DATA>
Returns a copy 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 moresource§impl<'graph, DATA> Display for SchematicHop<'graph, DATA>where
DATA: Clone,
impl<'graph, DATA> Display for SchematicHop<'graph, DATA>where DATA: Clone,
Auto Trait Implementations§
impl<'graph, DATA> RefUnwindSafe for SchematicHop<'graph, DATA>where DATA: RefUnwindSafe,
impl<'graph, DATA> Send for SchematicHop<'graph, DATA>where DATA: Sync,
impl<'graph, DATA> Sync for SchematicHop<'graph, DATA>where DATA: Sync,
impl<'graph, DATA> Unpin for SchematicHop<'graph, DATA>
impl<'graph, DATA> UnwindSafe for SchematicHop<'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