pub enum TrustRegion {
Fixed {
radius: Scalar,
norm: Norm,
},
None,
}Expand description
How far a step is trusted to follow the model it was built from.
Variants§
Fixed
The step is shortened to a radius that never adapts.
None
The step is taken whole, however far the model carries it.
Trait Implementations§
Source§impl Clone for TrustRegion
impl Clone for TrustRegion
Source§fn clone(&self) -> TrustRegion
fn clone(&self) -> TrustRegion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TrustRegion
Source§impl Debug for TrustRegion
impl Debug for TrustRegion
Source§impl Default for TrustRegion
impl Default for TrustRegion
Source§fn default() -> TrustRegion
fn default() -> TrustRegion
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TrustRegion
impl RefUnwindSafe for TrustRegion
impl Send for TrustRegion
impl Sync for TrustRegion
impl Unpin for TrustRegion
impl UnsafeUnpin for TrustRegion
impl UnwindSafe for TrustRegion
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