pub struct GapSpec {
pub thickness: f64,
pub refractive_index: RefractiveIndexSpec,
}Expand description
Specifies a gap in a sequential optical system model.
Fields§
§thickness: f64§refractive_index: RefractiveIndexSpecImplementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for GapSpec
impl<'de> Deserialize<'de> for GapSpec
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
Auto Trait Implementations§
impl Freeze for GapSpec
impl RefUnwindSafe for GapSpec
impl Send for GapSpec
impl Sync for GapSpec
impl Unpin for GapSpec
impl UnwindSafe for GapSpec
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