pub struct GlassShift {
pub surf: usize,
pub abbe: bool,
}Expand description
ガラスの d 線の屈折率かアッベ数のずれ(OpticStudio の TIND・TABB)。面 surf の
Surface::dnd・dvd にずれを足し、媒質の屈折率はモデルガラスの式
(nd・vd・ΔPgF)の差で波長ごとに変える(OpticStudio と同じ解釈)
Fields§
§surf: usize面の番号
abbe: boolアッベ数のずれ(false は屈折率のずれ)
Trait Implementations§
Source§impl Clone for GlassShift
impl Clone for GlassShift
impl Copy for GlassShift
Source§impl Debug for GlassShift
impl Debug for GlassShift
Source§impl PartialEq for GlassShift
impl PartialEq for GlassShift
impl StructuralPartialEq for GlassShift
Auto Trait Implementations§
impl Freeze for GlassShift
impl RefUnwindSafe for GlassShift
impl Send for GlassShift
impl Sync for GlassShift
impl Unpin for GlassShift
impl UnsafeUnpin for GlassShift
impl UnwindSafe for GlassShift
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