pub enum FacetField {
Num(f64),
Text(String),
Texts(Vec<String>),
}Expand description
One number or string on a facet, so a cell record can carry the reading without a second materials system.
Variants§
Num(f64)
Scalar in the facet’s own unit.
Text(String)
IRI or other text.
Texts(Vec<String>)
List of IRIs (immiscible-with, and similar).
Trait Implementations§
Source§impl Clone for FacetField
impl Clone for FacetField
Source§impl Debug for FacetField
impl Debug for FacetField
Source§impl PartialEq for FacetField
impl PartialEq for FacetField
impl StructuralPartialEq for FacetField
Auto Trait Implementations§
impl Freeze for FacetField
impl RefUnwindSafe for FacetField
impl Send for FacetField
impl Sync for FacetField
impl Unpin for FacetField
impl UnsafeUnpin for FacetField
impl UnwindSafe for FacetField
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