pub struct TolReq {
pub configs: Vec<Value>,
pub spec: Value,
}Expand description
モンテカルロ公差。params は lensbench tolerance --spec の JSON(lensbench_design::tolerance)に加えて
configs(構成の番号か状態の名前の並び。optimize と同じ。省けば読み込んだ系だけ)。読み込んだ系(set・edit の後)を使う。
同じプロセスからは tolerance_progress で進み具合を読み、tolerance_cancel で止められる
tolerance の params: 構成(状態の名前か構成の番号)の並びと、公差の設定(公差ファイルと同じ形の JSON)
Fields§
§configs: Vec<Value>§spec: ValueTrait Implementations§
Source§impl<'de> Deserialize<'de> for TolReq
impl<'de> Deserialize<'de> for TolReq
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for TolReq
Auto Trait Implementations§
impl Freeze for TolReq
impl RefUnwindSafe for TolReq
impl Send for TolReq
impl Sync for TolReq
impl Unpin for TolReq
impl UnsafeUnpin for TolReq
impl UnwindSafe for TolReq
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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