pub struct PupilOpts {
pub n: usize,
pub scale: f64,
pub xtilt: f64,
pub ytilt: f64,
}Expand description
瞳上の干渉縞の設定
Fields§
§n: usize格子の一辺(4 以上の偶数、pupil_grid)
scale: f64OPD の差にかける数(ダブルパスなら 2)
xtilt: f64傾きの縞の数(瞳の直径あたり、x・y。OpticStudio の X-Tilt・Y-Tilt)
ytilt: f64Trait Implementations§
impl Copy for PupilOpts
impl StructuralPartialEq for PupilOpts
Auto Trait Implementations§
impl Freeze for PupilOpts
impl RefUnwindSafe for PupilOpts
impl Send for PupilOpts
impl Sync for PupilOpts
impl Unpin for PupilOpts
impl UnsafeUnpin for PupilOpts
impl UnwindSafe for PupilOpts
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