pub struct Raw {
pub surfs: Vec<RawSurf>,
pub mce: Vec<(String, i64, i64, String, Vec<String>)>,
pub mce_rows: Vec<(String, i64, i64)>,
pub sysl: HashMap<String, Vec<Vec<String>>>,
pub merit: Vec<MeritRow>,
pub notes: Vec<String>,
}Fields§
§surfs: Vec<RawSurf>§mce: Vec<(String, i64, i64, String, Vec<String>)>(オペランド, 番号, 構成, 値, 残り)
mce_rows: Vec<(String, i64, i64)>多重構成の表の行(MCOV などの Op# の順、BLNK も 1 行): 演算子・番号・PRAM のパラメータの番号(ほかは 0)
sysl: HashMap<String, Vec<Vec<String>>>§merit: Vec<MeritRow>評価関数の行(面の後、TOL・MNUM の前の字下げしない行。merit::MeritRow)。系を作るときは使わない
notes: Vec<String>読まずに飛ばした行など、読込の注意(System::import_notes に入る)
Implementations§
Source§impl Raw
impl Raw
Sourcepub fn configurations(&self) -> usize
pub fn configurations(&self) -> usize
マルチコンフィグの数(MNUM、なければ 1)
Sourcepub fn grd_file_name(&self) -> String
pub fn grd_file_name(&self) -> String
Gradium の分布のファイルの名前(COFN の .GRD の項目、なければ PROFILE.GRD)
Sourcepub fn coating_file_name(&self) -> Option<String>
pub fn coating_file_name(&self) -> Option<String>
膜ファイルの名前(COFN の最初の項目。OpticStudio の Coatings フォルダから探す名前)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Raw
impl RefUnwindSafe for Raw
impl Send for Raw
impl Sync for Raw
impl Unpin for Raw
impl UnsafeUnpin for Raw
impl UnwindSafe for Raw
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