pub struct Row {Show 22 fields
pub object: bool,
pub image: bool,
pub comment: String,
pub coordinate_break: Option<Tilt>,
pub shape: Option<Shape>,
pub action: Option<Action>,
pub aperture: Option<Aperture>,
pub coating: String,
pub stop: bool,
pub semi: Option<Semi>,
pub before: Option<Tilt>,
pub after: Option<After>,
pub ignore: bool,
pub t: f64,
pub medium: Option<Medium>,
pub dn: f64,
pub disp: f64,
pub dnd: f64,
pub dvd: f64,
pub tce: f64,
pub mech: Option<f64>,
pub chip: f64,
}Expand description
面の列の 1 行(面とその後の間隔)
Fields§
§object: bool物体面の印(最初の行。読むときは確かめるだけ)
image: bool像面の印(最後の行)
comment: String§coordinate_break: Option<Tilt>座標ブレーク(面でなく座標系だけを変える行)
shape: Option<Shape>面の形(省略は平面の標準面)
action: Option<Action>面の働き(省略は屈折)
aperture: Option<Aperture>面の開口(省略は開口なし)
coating: String膜の名前
stop: bool絞り
semi: Option<Semi>半直径 [mm]。“auto” は光線から求める
before: Option<Tilt>面の前の傾き・偏心
after: Option<After>面の後の傾き・偏心(“reverse” は前の変換を戻す)
ignore: bool無視する
t: f64次の面までの厚さ [mm]
medium: Option<Medium>面の後の媒質(省略は空気。鏡・座標ブレークでは前の媒質)
dn: f64媒質の屈折率のずれ(全波長に足す)
disp: f64媒質の分散の相対変化: n = n0(λ) + dn + disp·(n0(λ) − n0(主波長))
dnd: f64ガラスの d 線の屈折率のずれ(OpticStudio の TIND): モデルガラスの式で nd を変えた差を波長ごとに足す
dvd: f64ガラスのアッベ数のずれ(OpticStudio の TABB): モデルガラスの式で vd を変えた差を波長ごとに足す
tce: f64面の熱膨張係数 [1e-6/°C](OpticStudio のレンズデータの TCE の列。光線追跡には効かない)
mech: Option<f64>固定した機械半径 [mm](OpticStudio の Mech Semi-Dia。省略は自動: ガラスでつながる面の縁 + チップゾーンの最大。 自動より小さければ自動のまま)
chip: f64チップゾーン [mm](OpticStudio の Chip Zone): 面の形をクリア半径からこの幅だけ外へ延ばし、その外を平らにする
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Row
impl<'de> Deserialize<'de> for Row
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 Row
impl JsonSchema for Row
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 moreimpl StructuralPartialEq for Row
Auto Trait Implementations§
impl Freeze for Row
impl RefUnwindSafe for Row
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl UnsafeUnpin for Row
impl UnwindSafe for Row
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