pub enum ArcPredictor {
Secant,
Tangent,
}Expand description
Predictor after the first step (docs/arclength.md §4).
Variants§
Secant
The normalized last accepted increment: no extra factorization and oriented by construction. The bordered tangent is still used for the step after a cutback or a sharp turn.
Tangent
The bordered tangent at the committed state, every step.
Trait Implementations§
Source§impl Clone for ArcPredictor
impl Clone for ArcPredictor
Source§fn clone(&self) -> ArcPredictor
fn clone(&self) -> ArcPredictor
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 ArcPredictor
Source§impl Debug for ArcPredictor
impl Debug for ArcPredictor
Source§impl Default for ArcPredictor
impl Default for ArcPredictor
Source§fn default() -> ArcPredictor
fn default() -> ArcPredictor
Returns the “default value” for a type. Read more
impl Eq for ArcPredictor
Source§impl PartialEq for ArcPredictor
impl PartialEq for ArcPredictor
impl StructuralPartialEq for ArcPredictor
Auto Trait Implementations§
impl Freeze for ArcPredictor
impl RefUnwindSafe for ArcPredictor
impl Send for ArcPredictor
impl Sync for ArcPredictor
impl Unpin for ArcPredictor
impl UnsafeUnpin for ArcPredictor
impl UnwindSafe for ArcPredictor
Blanket Implementations§
impl<T> Boilerplate for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T, U> Imply<T> for U
impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
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.