pub struct RayBeamOpts {
pub rays: usize,
pub n: usize,
pub half: Option<f64>,
pub aperture: bool,
pub overfill: Option<f64>,
}Expand description
光線から場を作るときの設定
Fields§
§rays: usize瞳の格子の一辺の光線の数
n: usize場の格子の一辺の標本の数
half: Option<f64>場の格子の半幅 [mm](None なら光線の届く範囲と開口から)
aperture: bool面の開口を格子の上で掛ける(絞り面で開口がなければ絞り半径の円)。このとき瞳を少し広げて光線を追う
overfill: Option<f64>瞳の広げ方(外の縁のある開口を掛けるときの既定 1.05、遮蔽・スパイダー・開口なしは 1)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RayBeamOpts
impl RefUnwindSafe for RayBeamOpts
impl Send for RayBeamOpts
impl Sync for RayBeamOpts
impl Unpin for RayBeamOpts
impl UnsafeUnpin for RayBeamOpts
impl UnwindSafe for RayBeamOpts
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