pub struct MidSnakeInfo {
pub a_split: i32,
pub b_split: i32,
pub optimal_len: u32,
}
Expand description
Information relevant for a middle snake calculation
Fields§
§a_split: i32
The index in a
that corresponds to the middle snake
b_split: i32
The index in b
that corresponds to the middle snake
optimal_len: u32
the full length of the optimal path between the two inputs
Trait Implementations§
Source§impl Debug for MidSnakeInfo
impl Debug for MidSnakeInfo
Source§impl Ord for MidSnakeInfo
impl Ord for MidSnakeInfo
Source§fn cmp(&self, other: &MidSnakeInfo) -> Ordering
fn cmp(&self, other: &MidSnakeInfo) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MidSnakeInfo
impl PartialEq for MidSnakeInfo
Source§impl PartialOrd for MidSnakeInfo
impl PartialOrd for MidSnakeInfo
impl Eq for MidSnakeInfo
impl StructuralPartialEq for MidSnakeInfo
Auto Trait Implementations§
impl Freeze for MidSnakeInfo
impl RefUnwindSafe for MidSnakeInfo
impl Send for MidSnakeInfo
impl Sync for MidSnakeInfo
impl Unpin for MidSnakeInfo
impl UnwindSafe for MidSnakeInfo
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