pub struct MechVig {
pub field: usize,
pub wave: usize,
pub launched: usize,
pub failed: usize,
pub optical: usize,
pub clipped: Vec<usize>,
pub first: Vec<usize>,
pub passed: usize,
pub state: Vec<i32>,
}Expand description
視野・波長ごとの集計
Fields§
§field: usize§wave: usize§launched: usize追った光線の数(瞳の点)
failed: usize追跡が止まった光線(全反射・当たらない)
optical: usize系の開口で切れた光線(どの部品より先に)
clipped: Vec<usize>部品ごとの、その部品の穴の外に出た光線の数(ほかの部品・開口で先に切れたものも数える)
first: Vec<usize>部品ごとの、最初にその部品で切れた光線の数(光の通る順で最初。系の開口より先のものだけ)
passed: usizeどこでも切れずに像面まで届いた光線
state: Vec<i32>瞳の点ごとの結果(STATE_PASSED・STATE_OPTICAL・STATE_FAILED、1 以上は最初に切った部品の番号 + 1)
Trait Implementations§
impl StructuralPartialEq for MechVig
Auto Trait Implementations§
impl Freeze for MechVig
impl RefUnwindSafe for MechVig
impl Send for MechVig
impl Sync for MechVig
impl Unpin for MechVig
impl UnsafeUnpin for MechVig
impl UnwindSafe for MechVig
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
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