pub struct GlassChange {
pub surface: usize,
pub from: String,
pub to: String,
pub target_nd: f64,
pub target_vd: f64,
pub nd: f64,
pub vd: f64,
pub merit: f64,
pub configs: Option<Vec<usize>>,
}Expand description
1 つの面の置き換え
Fields§
§surface: usize§from: String前の材料の名前(モデルガラスは “nd,vd”。dn・disp があれば実効の値を target_nd・target_vd に)
to: String§target_nd: f64置き換える前の実効の nd・vd
target_vd: f64§nd: f64選んだ硝材の nd・vd
vd: f64§merit: f64置き換えた後の評価関数の値
configs: Option<Vec<usize>>置き換えた構成(0 始まり。面の材料が構成で違うときの組。None はすべての構成)
Trait Implementations§
Source§impl Clone for GlassChange
impl Clone for GlassChange
Source§impl Debug for GlassChange
impl Debug for GlassChange
Source§impl PartialEq for GlassChange
impl PartialEq for GlassChange
impl StructuralPartialEq for GlassChange
Auto Trait Implementations§
impl Freeze for GlassChange
impl RefUnwindSafe for GlassChange
impl Send for GlassChange
impl Sync for GlassChange
impl Unpin for GlassChange
impl UnsafeUnpin for GlassChange
impl UnwindSafe for GlassChange
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