#[non_exhaustive]pub struct RayCounts {
pub total: usize,
pub ok: usize,
pub vignetted: usize,
pub missed: usize,
pub tir: usize,
pub aim_failed: usize,
}Expand description
追跡した光線の本数を、届いたか・止まった理由で数えたもの(解析の結果で、何本がなぜ除かれたかを示す)
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.total: usize追跡した本数
ok: usize最後の面まで届き、けられなかった本数
vignetted: usize面の開口でけられた本数
missed: usize面に当たらなかった本数(RayStatus::Missed)
tir: usize全反射した本数(RayStatus::Tir)
aim_failed: usizeエイミングに失敗した本数(RayStatus::AimFailed)
Implementations§
Trait Implementations§
impl Copy for RayCounts
impl Eq for RayCounts
impl StructuralPartialEq for RayCounts
Auto Trait Implementations§
impl Freeze for RayCounts
impl RefUnwindSafe for RayCounts
impl Send for RayCounts
impl Sync for RayCounts
impl Unpin for RayCounts
impl UnsafeUnpin for RayCounts
impl UnwindSafe for RayCounts
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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