#[non_exhaustive]pub struct RayBeam {
pub beam: Beam,
pub used: usize,
pub traced: usize,
pub aperture: Option<Aperture>,
pub transmitted: f64,
}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.beam: Beam§used: usize使えた光線の数 / 追跡した光線の数
traced: usize§aperture: Option<Aperture>掛けた開口(なければ None)
transmitted: f64格子の上のパワー(開口を掛けた後。正規化瞳の単位円の中が 1)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RayBeam
impl RefUnwindSafe for RayBeam
impl Send for RayBeam
impl Sync for RayBeam
impl Unpin for RayBeam
impl UnsafeUnpin for RayBeam
impl UnwindSafe for RayBeam
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