pub enum TermValue {
Quantity(f64),
Rms(f64),
}Expand description
項の値(Problem::term_values)。値の意味は項の種類で違う
Variants§
Quantity(f64)
目標のある項(MTF・近軸量・光線・OPD・Zernike・結合効率・重心): 量そのもの
Rms(f64)
目標のない項(スポット・波面・利用者の項): 残差の √Σr²(スポット・波面では RMS そのもの)
Implementations§
Trait Implementations§
impl Copy for TermValue
impl StructuralPartialEq for TermValue
Auto Trait Implementations§
impl Freeze for TermValue
impl RefUnwindSafe for TermValue
impl Send for TermValue
impl Sync for TermValue
impl Unpin for TermValue
impl UnsafeUnpin for TermValue
impl UnwindSafe for TermValue
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more