pub enum CaseField {
Scalar(VolScalarField, Dimensions),
Vector(VolVectorField, Dimensions),
}Expand description
A field loaded from a time directory, tagged by its value type.
An enum (not a trait object) so callers get exhaustive match handling and
the field lives inline.
Variants§
Scalar(VolScalarField, Dimensions)
A volScalarField and its dimensions.
Vector(VolVectorField, Dimensions)
A volVectorField and its dimensions.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CaseField
impl RefUnwindSafe for CaseField
impl Send for CaseField
impl Sync for CaseField
impl Unpin for CaseField
impl UnsafeUnpin for CaseField
impl UnwindSafe for CaseField
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