pub struct GlassProps {
pub tce: f64,
pub density: f64,
pub dpgf: f64,
pub cost: f64,
pub resist: Option<[Option<f64>; 5]>,
}Expand description
カタログのガラスの性質(AGF の ED の行の熱膨張係数・比重・ΔPgF、OD の行の相対価格と耐性の等級)
Fields§
§tce: f64熱膨張係数 −30〜70 °C [10⁻⁶/K](ED の 1 番目)
density: f64比重 [g/cm³](ED の 3 番目)
dpgf: f64部分分散比の偏差 ΔPgF(ED の 4 番目)
cost: f64相対価格(OD の 1 番目。書いていなければ 0、カタログに値が無ければ負(-1))
resist: Option<[Option<f64>; 5]>耐性の等級(OD の 2〜6 番目: 耐候性 CR・耐汚染性 FR・耐酸性 SR・耐アルカリ性 AR・耐リン酸塩性 PR)。 書いていない・値が無い(負)なら None
Implementations§
Trait Implementations§
Source§impl Clone for GlassProps
impl Clone for GlassProps
impl Copy for GlassProps
Source§impl Debug for GlassProps
impl Debug for GlassProps
Source§impl Default for GlassProps
impl Default for GlassProps
Source§impl<'de> Deserialize<'de> for GlassProps
impl<'de> Deserialize<'de> for GlassProps
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 GlassProps
impl JsonSchema for GlassProps
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 moreSource§impl PartialEq for GlassProps
impl PartialEq for GlassProps
Source§impl Serialize for GlassProps
impl Serialize for GlassProps
impl StructuralPartialEq for GlassProps
Auto Trait Implementations§
impl Freeze for GlassProps
impl RefUnwindSafe for GlassProps
impl Send for GlassProps
impl Sync for GlassProps
impl Unpin for GlassProps
impl UnsafeUnpin for GlassProps
impl UnwindSafe for GlassProps
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
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