pub struct LensGeom {
pub dia: f64,
pub efl: f64,
pub glasses: usize,
}Expand description
玉の形(catalog_rule の条件)
Fields§
§dia: f64外径 [mm](面の半径の最大の 2 倍)
efl: f64主波長の焦点距離 [mm]
glasses: usizeガラスの枚数(貼り合わせなら 2 以上)
Implementations§
Trait Implementations§
impl Copy for LensGeom
impl StructuralPartialEq for LensGeom
Auto Trait Implementations§
impl Freeze for LensGeom
impl RefUnwindSafe for LensGeom
impl Send for LensGeom
impl Sync for LensGeom
impl Unpin for LensGeom
impl UnsafeUnpin for LensGeom
impl UnwindSafe for LensGeom
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