#[non_exhaustive]pub struct BipartiteMatching {
pub row_to_col: Vec<Option<usize>>,
pub col_to_row: Vec<Option<usize>>,
}Expand description
A matching: the column of each row and the row of each column, None where unmatched.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.row_to_col: Vec<Option<usize>>§col_to_row: Vec<Option<usize>>Implementations§
Trait Implementations§
Source§impl Clone for BipartiteMatching
impl Clone for BipartiteMatching
Source§impl Debug for BipartiteMatching
impl Debug for BipartiteMatching
Source§impl PartialEq for BipartiteMatching
impl PartialEq for BipartiteMatching
impl StructuralPartialEq for BipartiteMatching
Auto Trait Implementations§
impl Freeze for BipartiteMatching
impl RefUnwindSafe for BipartiteMatching
impl Send for BipartiteMatching
impl Sync for BipartiteMatching
impl Unpin for BipartiteMatching
impl UnsafeUnpin for BipartiteMatching
impl UnwindSafe for BipartiteMatching
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