#[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>
impl<'graph, DATA> Clone for SchematicHop<'graph, DATA>
Source§fn clone(&self) -> SchematicHop<'graph, DATA>
fn clone(&self) -> SchematicHop<'graph, DATA>
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 moreSource§impl<'graph, DATA> Debug for SchematicHop<'graph, DATA>
impl<'graph, DATA> Debug for SchematicHop<'graph, DATA>
Source§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> Freeze for SchematicHop<'graph, DATA>
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