Enum argmin::core::CheckpointMode [−][src]
pub enum CheckpointMode { Never, Every(u64), Always, }
Expand description
Defines at which intervals a checkpoint is saved.
Variants
Never create checkpoint
Every(u64)
Create checkpoint every N iterations
Create checkpoint in every iteration
Trait Implementations
impl Clone for CheckpointMode
[src]
impl Clone for CheckpointMode
[src]fn clone(&self) -> CheckpointMode
[src]
fn clone(&self) -> CheckpointMode
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for CheckpointMode
[src]
impl Debug for CheckpointMode
[src]impl Default for CheckpointMode
[src]
impl Default for CheckpointMode
[src]fn default() -> CheckpointMode
[src]
fn default() -> CheckpointMode
[src]Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for CheckpointMode
[src]
impl<'de> Deserialize<'de> for CheckpointMode
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl Display for CheckpointMode
[src]
impl Display for CheckpointMode
[src]impl Hash for CheckpointMode
[src]
impl Hash for CheckpointMode
[src]impl Ord for CheckpointMode
[src]
impl Ord for CheckpointMode
[src]impl PartialEq<CheckpointMode> for CheckpointMode
[src]
impl PartialEq<CheckpointMode> for CheckpointMode
[src]fn eq(&self, other: &CheckpointMode) -> bool
[src]
fn eq(&self, other: &CheckpointMode) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &CheckpointMode) -> bool
[src]
fn ne(&self, other: &CheckpointMode) -> bool
[src]This method tests for !=
.
impl PartialOrd<CheckpointMode> for CheckpointMode
[src]
impl PartialOrd<CheckpointMode> for CheckpointMode
[src]fn partial_cmp(&self, other: &CheckpointMode) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &CheckpointMode) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Serialize for CheckpointMode
[src]
impl Serialize for CheckpointMode
[src]impl Copy for CheckpointMode
[src]
impl Eq for CheckpointMode
[src]
impl StructuralEq for CheckpointMode
[src]
impl StructuralPartialEq for CheckpointMode
[src]
Auto Trait Implementations
impl RefUnwindSafe for CheckpointMode
impl Send for CheckpointMode
impl Sync for CheckpointMode
impl Unpin for CheckpointMode
impl UnwindSafe for CheckpointMode
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,