pub struct Operation {
pub dependencies: Vec<usize>,
pub class: u64,
pub bytes: usize,
pub routes: [Option<Route>; 3],
}Fields§
§dependencies: Vec<usize>§class: u64Assign different classes to algorithms with different cost characteristics.
bytes: usize§routes: [Option<Route>; 3]Indexed by Backend. None means that implementation is unavailable.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Operation
impl Freeze for Operation
impl Move for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnsafeUnpin for Operation
impl UnwindSafe for Operation
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