pub enum Rank {
Scalar,
Vector(PolarizationBasis),
}Expand description
Scalar, or vector with components in a polarization basis.
Variants§
Scalar
Vector(PolarizationBasis)
Implementations§
Source§impl Rank
impl Rank
pub fn components(self) -> usize
pub fn basis(self) -> Option<PolarizationBasis>
Trait Implementations§
impl Copy for Rank
impl Eq for Rank
impl StructuralPartialEq for Rank
Auto Trait Implementations§
impl Freeze for Rank
impl RefUnwindSafe for Rank
impl Send for Rank
impl Sync for Rank
impl Unpin for Rank
impl UnsafeUnpin for Rank
impl UnwindSafe for Rank
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