pub struct Extras { /* private fields */ }
Expand description
Specifies a type used to store any values regarding problem configuration.
Implementations§
Trait Implementations§
source§impl CoreStateKeys for Extras
impl CoreStateKeys for Extras
source§fn get_schedule_keys(&self) -> Option<&ScheduleKeys>
fn get_schedule_keys(&self) -> Option<&ScheduleKeys>
Get state keys for scheduling.
source§fn get_capacity_keys(&self) -> Option<&CapacityKeys>
fn get_capacity_keys(&self) -> Option<&CapacityKeys>
Gets state keys for capacity feature.
source§fn get_heuristic_keys(&self) -> Option<&HeuristicKeys>
fn get_heuristic_keys(&self) -> Option<&HeuristicKeys>
Gets state keys for heuristic.
source§impl From<&Extras> for ExtrasBuilder
impl From<&Extras> for ExtrasBuilder
source§impl HeuristicFilter for Extras
impl HeuristicFilter for Extras
source§fn get_heuristic_filter(&self) -> Option<HeuristicFilterFn>
fn get_heuristic_filter(&self) -> Option<HeuristicFilterFn>
Gets heuristic filter.
source§fn set_heuristic_filter(&mut self, heuristic_filter: HeuristicFilterFn)
fn set_heuristic_filter(&mut self, heuristic_filter: HeuristicFilterFn)
Sets heuristic filter.
source§impl ReservedTimeDimension for Extras
impl ReservedTimeDimension for Extras
source§fn set_reserved_times(
&mut self,
reserved_times: ReservedTimesIndex
) -> &mut Self
fn set_reserved_times( &mut self, reserved_times: ReservedTimesIndex ) -> &mut Self
Sets reserved times index.
source§fn get_reserved_times(&self) -> Option<&ReservedTimesIndex>
fn get_reserved_times(&self) -> Option<&ReservedTimesIndex>
Gets reserved times index.
source§impl ValueDimension for Extras
impl ValueDimension for Extras
source§impl VicinityDimension for Extras
impl VicinityDimension for Extras
source§fn set_cluster_config(&mut self, config: ClusterConfig) -> &mut Self
fn set_cluster_config(&mut self, config: ClusterConfig) -> &mut Self
Sets cluster config.
source§fn get_cluster_config(&self) -> Option<&ClusterConfig>
fn get_cluster_config(&self) -> Option<&ClusterConfig>
Gets cluster config.
Auto Trait Implementations§
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