pub enum UIUserMessage {
LogS(&'static str),
Log(String),
TimeLimitReached,
StartPhase(&'static str, u8),
ExitUi {
root_node: Option<Duration>,
lds_root_node_duration: Option<Duration>,
},
StartWorker,
BranchStart(BranchUIState),
BranchFinish(BranchUIState),
BranchCut {
branch_id: u32,
},
LPSolveIterationFinish(LPSolveIterationUIState),
PricingProblemFinish(PricingProblemUIState),
NewBest {
obj: f64,
branch_id: u32,
},
}
Expand description
Holds all state updates that can influence the UI
Variants§
LogS(&'static str)
Log(String)
TimeLimitReached
StartPhase(&'static str, u8)
ExitUi
StartWorker
BranchStart(BranchUIState)
BranchFinish(BranchUIState)
BranchCut
LPSolveIterationFinish(LPSolveIterationUIState)
PricingProblemFinish(PricingProblemUIState)
NewBest
Trait Implementations§
Source§impl Clone for UIUserMessage
impl Clone for UIUserMessage
Source§fn clone(&self) -> UIUserMessage
fn clone(&self) -> UIUserMessage
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 Freeze for UIUserMessage
impl RefUnwindSafe for UIUserMessage
impl Send for UIUserMessage
impl Sync for UIUserMessage
impl Unpin for UIUserMessage
impl UnwindSafe for UIUserMessage
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