pub struct CompiledEdge {
pub source_index: usize,
pub id: EdgeId,
pub from: PortRef,
pub to: PortRef,
pub from_node: usize,
pub to_node: usize,
pub priority: i64,
pub max_visits: Option<u32>,
}Expand description
Compiled edge metadata with stable endpoint indexes.
Fields§
§source_index: usizeSource-order edge index.
id: EdgeIdSource edge id.
from: PortRefSource port reference.
to: PortRefDestination port reference.
from_node: usizeSource-order node index for from.
to_node: usizeSource-order node index for to.
priority: i64Routing priority copied from source data.
max_visits: Option<u32>Per-edge visit cap copied from source data.
Trait Implementations§
Source§impl Clone for CompiledEdge
impl Clone for CompiledEdge
Source§fn clone(&self) -> CompiledEdge
fn clone(&self) -> CompiledEdge
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CompiledEdge
impl Debug for CompiledEdge
impl Eq for CompiledEdge
Source§impl PartialEq for CompiledEdge
impl PartialEq for CompiledEdge
impl StructuralPartialEq for CompiledEdge
Auto Trait Implementations§
impl Freeze for CompiledEdge
impl RefUnwindSafe for CompiledEdge
impl Send for CompiledEdge
impl Sync for CompiledEdge
impl Unpin for CompiledEdge
impl UnsafeUnpin for CompiledEdge
impl UnwindSafe for CompiledEdge
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