pub struct BranchGroup<BranchFilter, BranchGroupType>where
BranchGroupType: Debug,{
pub filters: Vec<Vec<BranchFilter>>,
pub branch_group_type: BranchGroupType,
}
Expand description
A branch group contains a list of branching options Collectively, they must not cut of an optimal solution. Individually, they must cut of the current solution.
Fields§
§filters: Vec<Vec<BranchFilter>>
§branch_group_type: BranchGroupType
Implementations§
Trait Implementations§
Source§impl<BranchFilter: Clone, BranchGroupType> Clone for BranchGroup<BranchFilter, BranchGroupType>
impl<BranchFilter: Clone, BranchGroupType> Clone for BranchGroup<BranchFilter, BranchGroupType>
Source§fn clone(&self) -> BranchGroup<BranchFilter, BranchGroupType>
fn clone(&self) -> BranchGroup<BranchFilter, BranchGroupType>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<BranchFilter, BranchGroupType> Freeze for BranchGroup<BranchFilter, BranchGroupType>where
BranchGroupType: Freeze,
impl<BranchFilter, BranchGroupType> RefUnwindSafe for BranchGroup<BranchFilter, BranchGroupType>where
BranchGroupType: RefUnwindSafe,
BranchFilter: RefUnwindSafe,
impl<BranchFilter, BranchGroupType> Send for BranchGroup<BranchFilter, BranchGroupType>
impl<BranchFilter, BranchGroupType> Sync for BranchGroup<BranchFilter, BranchGroupType>
impl<BranchFilter, BranchGroupType> Unpin for BranchGroup<BranchFilter, BranchGroupType>
impl<BranchFilter, BranchGroupType> UnwindSafe for BranchGroup<BranchFilter, BranchGroupType>where
BranchGroupType: UnwindSafe,
BranchFilter: UnwindSafe,
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