pub enum Constituent {
Named {
name: String,
symbol: Option<String>,
},
Coded {
lithofacies: Option<String>,
rock: Option<String>,
metamorphic_rock_lithofacies: Option<String>,
metamorphic_rock: Option<String>,
},
}Expand description
構成岩種の情報
V1.10〜V2.10 と V3.00+ でデータの性質が異なるためenumで分岐。 V1/V2は各構成岩種に個別の名前を持ち、V3+は9桁コードで識別する。
Variants§
Trait Implementations§
Source§impl Clone for Constituent
impl Clone for Constituent
Source§fn clone(&self) -> Constituent
fn clone(&self) -> Constituent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Constituent
impl RefUnwindSafe for Constituent
impl Send for Constituent
impl Sync for Constituent
impl Unpin for Constituent
impl UnsafeUnpin for Constituent
impl UnwindSafe for Constituent
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