pub struct OfflineResponse<T, C, D, M> {
pub xs: (Schedule<T>, Cost<C, D>),
pub int_xs: (Schedule<i32>, Cost<C, D>),
pub m: Option<M>,
pub runtime: u128,
}
Expand description
Intermediate result after solving the initial offline problem.
Fields
xs: (Schedule<T>, Cost<C, D>)
int_xs: (Schedule<i32>, Cost<C, D>)
m: Option<M>
runtime: u128
Trait Implementations
sourceimpl<T: Clone, C: Clone, D: Clone, M: Clone> Clone for OfflineResponse<T, C, D, M>
impl<T: Clone, C: Clone, D: Clone, M: Clone> Clone for OfflineResponse<T, C, D, M>
sourcefn clone(&self) -> OfflineResponse<T, C, D, M>
fn clone(&self) -> OfflineResponse<T, C, D, M>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl<T, C, D, M> RefUnwindSafe for OfflineResponse<T, C, D, M> where
C: RefUnwindSafe,
D: RefUnwindSafe,
M: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, C, D, M> Send for OfflineResponse<T, C, D, M> where
C: Send,
D: Send,
M: Send,
T: Send,
impl<T, C, D, M> Sync for OfflineResponse<T, C, D, M> where
C: Sync,
D: Sync,
M: Sync,
T: Sync,
impl<T, C, D, M> Unpin for OfflineResponse<T, C, D, M> where
C: Unpin,
D: Unpin,
M: Unpin,
T: Unpin,
impl<T, C, D, M> UnwindSafe for OfflineResponse<T, C, D, M> where
C: UnwindSafe,
D: UnwindSafe,
M: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more