pub enum EdgeOperation<W: Clone, N: Clone, NT: Clone> {
Show 13 variants
IncreaseWeight {
weight: W,
},
DecreaseWeight {
weight: W,
},
Duplicate {
weight: W,
},
Split {
weight: W,
},
Loop {
weight: W,
},
Output {
weight: W,
},
Merge {
n: NT,
},
Next {
n: NT,
},
Parent {
n: NT,
},
SetNodeFunction {
function: N,
},
Reverse,
Save,
Restore,
}
Variants§
IncreaseWeight
Fields
§
weight: W
DecreaseWeight
Fields
§
weight: W
Duplicate
Fields
§
weight: W
Split
Fields
§
weight: W
Loop
Fields
§
weight: W
Output
Fields
§
weight: W
Merge
Fields
§
n: NT
Next
Fields
§
n: NT
Parent
Fields
§
n: NT
SetNodeFunction
Fields
§
function: N
Reverse
Save
Restore
Trait Implementations§
Auto Trait Implementations§
impl<W, N, NT> Freeze for EdgeOperation<W, N, NT>
impl<W, N, NT> RefUnwindSafe for EdgeOperation<W, N, NT>
impl<W, N, NT> Send for EdgeOperation<W, N, NT>
impl<W, N, NT> Sync for EdgeOperation<W, N, NT>
impl<W, N, NT> Unpin for EdgeOperation<W, N, NT>
impl<W, N, NT> UnwindSafe for EdgeOperation<W, N, NT>
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