pub struct Arc {
pub from: usize,
pub to: usize,
pub capacity: Option<i64>,
pub cost: i64,
}Expand description
An arc: capacity units at most (None for no bound), at cost a unit.
Fields§
§from: usize§to: usize§capacity: Option<i64>§cost: i64Trait Implementations§
impl Copy for Arc
impl Eq for Arc
impl StructuralPartialEq for Arc
Auto Trait Implementations§
impl Freeze for Arc
impl RefUnwindSafe for Arc
impl Send for Arc
impl Sync for Arc
impl Unpin for Arc
impl UnsafeUnpin for Arc
impl UnwindSafe for Arc
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