pub struct OptionalGroup {
pub general: HashSet<Requirement>,
pub post: HashSet<Requirement>,
pub weight: i64,
}Expand description
Represents a group of requirements that are optional, but will be either all acquired or all not
Fields§
§general: HashSet<Requirement>§post: HashSet<Requirement>§weight: i64Implementations§
Source§impl OptionalGroup
impl OptionalGroup
pub fn get_set(&mut self, timing: Timing) -> &mut HashSet<Requirement>
Trait Implementations§
Source§impl Clone for OptionalGroup
impl Clone for OptionalGroup
Source§fn clone(&self) -> OptionalGroup
fn clone(&self) -> OptionalGroup
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 moreSource§impl Debug for OptionalGroup
impl Debug for OptionalGroup
Source§impl Default for OptionalGroup
impl Default for OptionalGroup
Source§fn default() -> OptionalGroup
fn default() -> OptionalGroup
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OptionalGroup
impl RefUnwindSafe for OptionalGroup
impl Send for OptionalGroup
impl Sync for OptionalGroup
impl Unpin for OptionalGroup
impl UnwindSafe for OptionalGroup
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