pub struct SurfaceView {Show 29 fields
pub typ: String,
pub comment: String,
pub t: f64,
pub c: f64,
pub r: f64,
pub k: f64,
pub asph: Vec<f64>,
pub cx: f64,
pub material: String,
pub mirror: bool,
pub coating: String,
pub semi: f64,
pub semi_auto: bool,
pub mech: f64,
pub mech_auto: bool,
pub chip: f64,
pub stop: bool,
pub ignore: bool,
pub aperture: Value,
pub cb: Vec<f64>,
pub cb_order: f64,
pub cb_return: Vec<f64>,
pub focal: f64,
pub jones: Vec<f64>,
pub dn: f64,
pub disp: f64,
pub n: Vec<f64>,
pub solves: Vec<SolveView>,
pub pickups: Vec<PickupView>,
}Expand description
面の値(surface の結果の surfaces の 1 つ)。鍵と並びは edit_ops::surf_fields_json と同じで、面のソルブ・ピックアップを
続けて持つ。inf・NaN は {"$f": "inf"} の形(系ファイルと同じ)
Fields§
§typ: String面タイプの名前(STANDARD・COORDBRK など)
comment: String§t: f64§c: f64§r: f64曲率半径(平面は inf)
k: f64§asph: Vec<f64>非球面の係数(面タイプのパラメータ)
cx: f64x の曲率(Toroidal)
material: String§mirror: bool§coating: String§semi: f64§semi_auto: bool§mech: f64玉の半径(自動なら求めた値)と、自動か・チップゾーン
mech_auto: bool§chip: f64§stop: bool§ignore: bool§aperture: Value開口(無ければ null、ある時は {“type”: “circular”, …})
cb: Vec<f64>座標ブレークの偏心 x y・傾き x y z
cb_order: f64§cb_return: Vec<f64>座標の戻り [戻し方 0〜3, 戻り先の面](0 は戻さない)
focal: f64焦点距離(Paraxial)
jones: Vec<f64>Jones 行列(実・虚 ×4)
dn: f64§disp: f64§n: Vec<f64>波長ごとの屈折率
solves: Vec<SolveView>§pickups: Vec<PickupView>Trait Implementations§
Source§impl Clone for SurfaceView
impl Clone for SurfaceView
Source§impl Debug for SurfaceView
impl Debug for SurfaceView
Source§impl Default for SurfaceView
impl Default for SurfaceView
Source§impl<'de> Deserialize<'de> for SurfaceView
impl<'de> Deserialize<'de> for SurfaceView
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 PartialEq for SurfaceView
impl PartialEq for SurfaceView
Source§impl Serialize for SurfaceView
impl Serialize for SurfaceView
impl StructuralPartialEq for SurfaceView
Auto Trait Implementations§
impl Freeze for SurfaceView
impl RefUnwindSafe for SurfaceView
impl Send for SurfaceView
impl Sync for SurfaceView
impl Unpin for SurfaceView
impl UnsafeUnpin for SurfaceView
impl UnwindSafe for SurfaceView
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