pub struct MeritRow {
pub row: usize,
pub line: usize,
pub op: String,
pub fields: Vec<String>,
pub comment: String,
}Expand description
評価関数の 1 行
Fields§
§row: usize評価関数の行の番号(1 始まり、OpticStudio の Merit Function Editor の行の番号。OPGT・SUMM などが参照する番号)
line: usizeファイルの行番号(1 始まり。注意の文に使う)
op: String演算子の名前(4 文字、大文字)
fields: Vec<String>名前の後の欄(数のまま、文字列)
comment: StringBLNK の行のコメント(名前の後の文字。前後の空白は除く)
Implementations§
Trait Implementations§
impl StructuralPartialEq for MeritRow
Auto Trait Implementations§
impl Freeze for MeritRow
impl RefUnwindSafe for MeritRow
impl Send for MeritRow
impl Sync for MeritRow
impl Unpin for MeritRow
impl UnsafeUnpin for MeritRow
impl UnwindSafe for MeritRow
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