pub struct FanRow {
pub field: usize,
pub wave: usize,
pub p: Vec<f64>,
pub tangential: Vec<f64>,
pub sagittal: Vec<f64>,
}Expand description
同梱の解析の結果の型(同じプロセスの呼び手は crate::Typed::get で引く。JSON は同じ形)
同梱の解析の結果の型(同じプロセスの呼び手は crate::Typed::get で引く。JSON は同じ形)
同梱の解析の結果の型(同じプロセスの呼び手は crate::Typed::get で引く。JSON は同じ形)
扇の 1 本(1 視野・1 波長)
Fields§
§field: usizeField number (from 1)
wave: usize波長の番号(1 始まり)
p: Vec<f64>正規化瞳座標(子午は Py、球欠は Px)
tangential: Vec<f64>子午の扇(瞳 (0, p))。けられた光線は null
sagittal: Vec<f64>球欠の扇(瞳 (p, 0))。けられた光線は null
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FanRow
impl<'de> Deserialize<'de> for FanRow
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 FanRow
impl JsonSchema for FanRow
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 FanRow
impl RefUnwindSafe for FanRow
impl Send for FanRow
impl Sync for FanRow
impl Unpin for FanRow
impl UnsafeUnpin for FanRow
impl UnwindSafe for FanRow
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