pub enum CoatSpec {
Table {
rows: Vec<[f64; 6]>,
},
Curve {
wavelengths_nm: Vec<f64>,
t: Vec<f64>,
r: Vec<f64>,
},
Longpass {
edge_nm: f64,
ideal: Ideal,
},
Shortpass {
edge_nm: f64,
ideal: Ideal,
},
Bandpass {
center_nm: f64,
fwhm_nm: f64,
ideal: Ideal,
},
Notch {
center_nm: f64,
fwhm_nm: f64,
ideal: Ideal,
},
Nd {
od: f64,
absorptive: bool,
},
}Expand description
プロジェクト・カタログの coatings の 1 つ
Variants§
Table
表: 行 [入射角 deg, 波長 µm, Rs, Rp, Ts, Tp]
Curve
波長 [nm] ごとの透過 t(と反射 r、省略は 0)。角度・偏光によらない
Longpass
エッジ edge_nm(透過 50 %)より長い波長を通す
Shortpass
エッジより短い波長を通す
Bandpass
中心 center_nm・半値全幅 fwhm_nm を通す
Notch
中心・幅の帯域を od で止める(帯域外は t)
Nd
波長によらない ND(T = 10^−od)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CoatSpec
impl<'de> Deserialize<'de> for CoatSpec
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 CoatSpec
impl JsonSchema for CoatSpec
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 CoatSpec
Auto Trait Implementations§
impl Freeze for CoatSpec
impl RefUnwindSafe for CoatSpec
impl Send for CoatSpec
impl Sync for CoatSpec
impl Unpin for CoatSpec
impl UnsafeUnpin for CoatSpec
impl UnwindSafe for CoatSpec
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