pub enum PlaneSources {
Uniform(PlaneSource),
PerVariable(Vec<(String, PlaneSource)>),
}Available on crate feature
encoder only.Expand description
How the planes of a frame are read: one file’s plane source (GRIB: the
same for every record) or an observation window’s per-variable ones.
Mirrors _plane_source_for in xuebuild/binconvert.py.
Variants§
Auto Trait Implementations§
impl Forget for PlaneSources
impl Freeze for PlaneSourceswhere
*const u8 is !null: Freeze,
PhantomData<f64>: Freeze,
PhantomData<(String, PlaneSource)>: Freeze,
impl Move for PlaneSources
impl RefUnwindSafe for PlaneSources
impl Send for PlaneSourceswhere
RawVecInner: Send,
impl Sync for PlaneSourceswhere
RawVecInner: Sync,
impl Unpin for PlaneSources
impl UnsafeUnpin for PlaneSourceswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<f64>: UnsafeUnpin,
PhantomData<(String, PlaneSource)>: UnsafeUnpin,
impl UnwindSafe for PlaneSourceswhere
RawVecInner: UnwindSafe,
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> 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