pub struct OpenSpec<'a> {
pub glass_dirs: &'a [PathBuf],
pub lens_catalogs: &'a [PathBuf],
pub cfg: usize,
pub state: Option<&'a str>,
pub split_path: Option<&'a str>,
pub wavelengths: Option<Vec<f64>>,
pub names: ArgNames,
pub step_files: Option<StepLookup<'a>>,
}Expand description
読み方
Fields§
§glass_dirs: &'a [PathBuf]ガラスカタログを探すフォルダ
lens_catalogs: &'a [PathBuf]プロジェクトファイルのカタログレンズを探すレンズカタログ
cfg: usize.zmx の多重構成の番号(1 始まり。0 は誤り)
state: Option<&'a str>プロジェクトファイルの状態の名前
split_path: Option<&'a str>プロジェクトファイルのビームスプリッターの経路
wavelengths: Option<Vec<f64>>.zmx の波長を置き換える [µm]
names: ArgNames誤りの文に書く引数の名前
step_files: Option<StepLookup<'a>>プロジェクトの機構部品の詳しい形の STEP を引く口(crate::Env::step_files。None は簡易外形)
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for OpenSpec<'a>
impl<'a> !UnwindSafe for OpenSpec<'a>
impl<'a> Freeze for OpenSpec<'a>
impl<'a> Send for OpenSpec<'a>
impl<'a> Sync for OpenSpec<'a>
impl<'a> Unpin for OpenSpec<'a>
impl<'a> UnsafeUnpin for OpenSpec<'a>
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