#[non_exhaustive]pub struct CoatInput {
pub wl: f64,
pub n1: f64,
pub n2: f64,
pub cos1: f64,
pub path: CoatPath,
pub from_substrate: bool,
}Expand description
利用者の膜に渡す境界の条件
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.wl: f64波長 [µm]
n1: f64入射側の媒質の屈折率
n2: f64反対側の媒質の屈折率(透過では後ろ、屈折面での反射では反対側。鏡では NaN)
cos1: f64入射角の cos(0〜1、入射側の媒質で)
path: CoatPath§from_substrate: bool基板の側から入る(透過で後ろが空気、屈折面での反射で反対側が空気のとき。膜は空気の側に付いているとみなす。 鏡では false)
Implementations§
Trait Implementations§
impl Copy for CoatInput
impl StructuralPartialEq for CoatInput
Auto Trait Implementations§
impl Freeze for CoatInput
impl RefUnwindSafe for CoatInput
impl Send for CoatInput
impl Sync for CoatInput
impl Unpin for CoatInput
impl UnsafeUnpin for CoatInput
impl UnwindSafe for CoatInput
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,
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