pub struct Extras { /* private fields */ }
Expand description
Specifies a type used to store any values regarding problem configuration.
Implementations§
Trait Implementations§
Source§impl ClusterConfigExtraProperty for Extras
impl ClusterConfigExtraProperty for Extras
Source§fn get_cluster_config(&self) -> Option<Arc<ClusterConfig>>
fn get_cluster_config(&self) -> Option<Arc<ClusterConfig>>
Gets ClusterConfig property as a shared reference.
Source§fn set_cluster_config(&mut self, value: Arc<ClusterConfig>) -> &mut Self
fn set_cluster_config(&mut self, value: Arc<ClusterConfig>) -> &mut Self
Sets ClusterConfig property using a shared reference.
Source§impl HeuristicFilterExtraProperty for Extras
impl HeuristicFilterExtraProperty for Extras
Source§fn get_heuristic_filter(&self) -> Option<Arc<HeuristicFilterFn>>
fn get_heuristic_filter(&self) -> Option<Arc<HeuristicFilterFn>>
Gets HeuristicFilter property as a shared reference.
Source§fn set_heuristic_filter(&mut self, value: Arc<HeuristicFilterFn>) -> &mut Self
fn set_heuristic_filter(&mut self, value: Arc<HeuristicFilterFn>) -> &mut Self
Sets HeuristicFilter property using a shared reference.
Source§impl ReservedTimesExtraProperty for Extras
impl ReservedTimesExtraProperty for Extras
Source§fn get_reserved_times(&self) -> Option<Arc<ReservedTimesIndex>>
fn get_reserved_times(&self) -> Option<Arc<ReservedTimesIndex>>
Gets ReservedTimes property as a shared reference.
Source§fn set_reserved_times(&mut self, value: Arc<ReservedTimesIndex>) -> &mut Self
fn set_reserved_times(&mut self, value: Arc<ReservedTimesIndex>) -> &mut Self
Sets ReservedTimes property using a shared reference.
Auto Trait Implementations§
impl Freeze for Extras
impl !RefUnwindSafe for Extras
impl Send for Extras
impl Sync for Extras
impl Unpin for Extras
impl !UnwindSafe for Extras
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more