Enum birli::corrections::ScrunchType
source · pub enum ScrunchType {
Simple,
CenterSymmetric,
}
Expand description
Possible types of scrunching that a correlator might do.
Variants§
Implementations§
source§impl ScrunchType
impl ScrunchType
sourcepub fn from_mwa_version(ver: MWAVersion) -> Result<Self, BirliError>
pub fn from_mwa_version(ver: MWAVersion) -> Result<Self, BirliError>
Return the corresponding scrunch version from the [marlu::mwalib::MWAVersion
].
Errors
Will throw BirliError::BadMWAVersion
If you provide something other than
[marlu::mwalib::MWAVersion::CorrMWAXv2
], [marlu::mwalib::MWAVersion::CorrLegacy
], or
[marlu::mwalib::MWAVersion::CorrOldLegacy
]
Trait Implementations§
source§impl Clone for ScrunchType
impl Clone for ScrunchType
source§fn clone(&self) -> ScrunchType
fn clone(&self) -> ScrunchType
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 moreAuto Trait Implementations§
impl RefUnwindSafe for ScrunchType
impl Send for ScrunchType
impl Sync for ScrunchType
impl Unpin for ScrunchType
impl UnwindSafe for ScrunchType
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