pub struct FootprintRow {
pub field: usize,
pub wave: usize,
pub points: Vec<[f64; 2]>,
pub edge: Vec<[Option<f64>; 2]>,
pub x: [f64; 2],
pub y: [f64; 2],
pub max_radius: f64,
pub fill: f64,
pub through: f64,
pub clipped: f64,
}Expand description
フットプリントの 1 視野・1 波長
Fields§
§field: usizeField number (from 1)
wave: usize波長の番号(1 始まり)
points: Vec<[f64; 2]>面に届いた光線の交点 (x, y)(面の局所座標)
edge: Vec<[Option<f64>; 2]>瞳の縁の光線の交点(面より前でけられた光線は null)
x: [f64; 2]交点の x・y の最小・最大
y: [f64; 2]§max_radius: f64面の頂点からの交点の距離の最大
fill: f64max_radius の、面の半直径に対する割合(半直径が 0 なら null)
through: f64像面までけられずに通った光線の割合
clipped: f64この面でけられた光線の割合
Trait Implementations§
Source§impl Clone for FootprintRow
impl Clone for FootprintRow
Source§impl Debug for FootprintRow
impl Debug for FootprintRow
Source§impl<'de> Deserialize<'de> for FootprintRow
impl<'de> Deserialize<'de> for FootprintRow
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 FootprintRow
impl JsonSchema for FootprintRow
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 FootprintRow
impl RefUnwindSafe for FootprintRow
impl Send for FootprintRow
impl Sync for FootprintRow
impl Unpin for FootprintRow
impl UnsafeUnpin for FootprintRow
impl UnwindSafe for FootprintRow
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