pub struct RmsSpec {
pub field: FieldRef,
pub wave: Option<usize>,
pub rings: Option<usize>,
pub reference: Option<RefName>,
pub quadrature: Option<QuadName>,
pub arms: Option<usize>,
pub n: Option<usize>,
pub axis: Option<AxisName>,
}Expand description
spot・wavefront の項
Fields§
§field: FieldRef§wave: Option<usize>波長の番号(1 始まり)。null・省略は多色
rings: Option<usize>瞳の環の数(既定 3)
reference: Option<RefName>§quadrature: Option<QuadName>瞳の求積の点の置き方(既定 lensbench。.zmx から読んだ行は opticstudio)
arms: Option<usize>quadrature opticstudio の腕の数(省略は 2 rings 本を 90° 回して)
n: Option<usize>quadrature grid の 1 辺の升の数
axis: Option<AxisName>spot の測る向き(既定 xy)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RmsSpec
impl<'de> Deserialize<'de> for RmsSpec
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
Source§impl JsonSchema for RmsSpec
impl JsonSchema for RmsSpec
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for RmsSpec
impl RefUnwindSafe for RmsSpec
impl Send for RmsSpec
impl Sync for RmsSpec
impl Unpin for RmsSpec
impl UnsafeUnpin for RmsSpec
impl UnwindSafe for RmsSpec
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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