pub struct Pupil {
pub location: f64,
pub semi_diameter: f64,
}Expand description
A paraxial entrance or exit pupil.
§Attributes
location- The location of the pupil relative to the first non-object surface.semi_diameter- The semi-diameter of the pupil.
Fields§
§location: f64§semi_diameter: f64Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pupil
impl<'de> Deserialize<'de> for Pupil
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Pupil
Auto Trait Implementations§
impl Freeze for Pupil
impl RefUnwindSafe for Pupil
impl Send for Pupil
impl Sync for Pupil
impl Unpin for Pupil
impl UnwindSafe for Pupil
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