pub struct CoatingFile {
pub mate: HashMap<String, Vec<[f64; 3]>>,
pub coat: HashMap<String, Vec<Layer>>,
pub table: HashMap<String, Table>,
}Expand description
膜ファイル(COATING.DAT 形式)の内容
Fields§
§mate: HashMap<String, Vec<[f64; 3]>>材料: 波長 [µm]、n、k
coat: HashMap<String, Vec<Layer>>§table: HashMap<String, Table>Implementations§
Source§impl CoatingFile
impl CoatingFile
pub fn load(path: &Path) -> Result<CoatingFile>
pub fn parse(txt: &str) -> Result<CoatingFile>
Trait Implementations§
Source§impl Clone for CoatingFile
impl Clone for CoatingFile
Source§impl Debug for CoatingFile
impl Debug for CoatingFile
Auto Trait Implementations§
impl Freeze for CoatingFile
impl RefUnwindSafe for CoatingFile
impl Send for CoatingFile
impl Sync for CoatingFile
impl Unpin for CoatingFile
impl UnsafeUnpin for CoatingFile
impl UnwindSafe for CoatingFile
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