pub struct SeparatorResult {
pub part_a: Vec<usize>,
pub separator: Vec<usize>,
pub part_b: Vec<usize>,
}Expand description
The three parts of a separator decomposition. Together they partition
0..n with no edge crossing between SeparatorResult::part_a and
SeparatorResult::part_b.
Fields§
§part_a: Vec<usize>First balanced part.
separator: Vec<usize>The separator (whose removal disconnects A from B).
part_b: Vec<usize>Second balanced part.
Trait Implementations§
Source§impl Clone for SeparatorResult
impl Clone for SeparatorResult
Source§fn clone(&self) -> SeparatorResult
fn clone(&self) -> SeparatorResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SeparatorResult
impl Debug for SeparatorResult
impl Eq for SeparatorResult
Source§impl PartialEq for SeparatorResult
impl PartialEq for SeparatorResult
Source§fn eq(&self, other: &SeparatorResult) -> bool
fn eq(&self, other: &SeparatorResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SeparatorResult
Auto Trait Implementations§
impl Freeze for SeparatorResult
impl RefUnwindSafe for SeparatorResult
impl Send for SeparatorResult
impl Sync for SeparatorResult
impl Unpin for SeparatorResult
impl UnsafeUnpin for SeparatorResult
impl UnwindSafe for SeparatorResult
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