Enum mwalib::MWAVersion
source · #[repr(C)]pub enum MWAVersion {
CorrOldLegacy = 1,
CorrLegacy = 2,
CorrMWAXv2 = 3,
VCSLegacyRecombined = 4,
VCSMWAXv2 = 5,
}
Expand description
Enum for all of the known variants of file format based on Correlator version
Variants§
CorrOldLegacy = 1
MWA correlator (v1.0), having data files without any batch numbers.
CorrLegacy = 2
MWA correlator (v1.0), having data files with “gpubox” and batch numbers in their names.
CorrMWAXv2 = 3
MWAX correlator (v2.0)
VCSLegacyRecombined = 4
Legacy VCS Recombined
VCSMWAXv2 = 5
MWAX VCS
Trait Implementations§
source§impl Clone for MWAVersion
impl Clone for MWAVersion
source§fn clone(&self) -> MWAVersion
fn clone(&self) -> MWAVersion
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MWAVersion
impl Debug for MWAVersion
source§impl Display for MWAVersion
impl Display for MWAVersion
source§impl PartialEq for MWAVersion
impl PartialEq for MWAVersion
source§fn eq(&self, other: &MWAVersion) -> bool
fn eq(&self, other: &MWAVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MWAVersion
impl Eq for MWAVersion
impl StructuralPartialEq for MWAVersion
Auto Trait Implementations§
impl Freeze for MWAVersion
impl RefUnwindSafe for MWAVersion
impl Send for MWAVersion
impl Sync for MWAVersion
impl Unpin for MWAVersion
impl UnwindSafe for MWAVersion
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