pub enum FieldSpec {
Angle {
angle: f64,
pupil_sampling: PupilSampling,
},
ObjectHeight {
height: f64,
pupil_sampling: PupilSampling,
},
}Expand description
Specifies an object field.
Variants§
Angle
The angle the field makes with the optical axis, in degrees.
ObjectHeight
The height of the field above the optical axis.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FieldSpec
impl<'de> Deserialize<'de> for FieldSpec
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 Copy for FieldSpec
Auto Trait Implementations§
impl Freeze for FieldSpec
impl RefUnwindSafe for FieldSpec
impl Send for FieldSpec
impl Sync for FieldSpec
impl Unpin for FieldSpec
impl UnwindSafe for FieldSpec
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