pub enum Prescription {
Initial,
Offset(Scalar),
Absolute(Scalar),
}Expand description
What an index of a prescribed constraint is held at.
Variants§
Initial
Its initial guess value.
Offset(Scalar)
Its initial guess value plus an amount.
Absolute(Scalar)
A value.
Trait Implementations§
Source§impl Clone for Prescription
impl Clone for Prescription
Source§fn clone(&self) -> Prescription
fn clone(&self) -> Prescription
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 Prescription
Source§impl Debug for Prescription
impl Debug for Prescription
Source§impl PartialEq for Prescription
impl PartialEq for Prescription
impl StructuralPartialEq for Prescription
Auto Trait Implementations§
impl Freeze for Prescription
impl RefUnwindSafe for Prescription
impl Send for Prescription
impl Sync for Prescription
impl Unpin for Prescription
impl UnsafeUnpin for Prescription
impl UnwindSafe for Prescription
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