pub enum Polarity {
Positive,
Negative,
}Expand description
The sense in which the quadrature output rotates, i.e. the sign of its imaginary (sine) part.
Variants§
Positive
cos θ + j sin θ = e^{+jθ}: rotates counter-clockwise, so a positive oscillator frequency
appears at a positive frequency in the spectrum.
Negative
cos θ − j sin θ = e^{−jθ}: the complex conjugate; rotates clockwise, which mirrors the
spectrum (the same as running the oscillator at the negative frequency).
Implementations§
Trait Implementations§
impl Copy for Polarity
impl Eq for Polarity
impl StructuralPartialEq for Polarity
Auto Trait Implementations§
impl Freeze for Polarity
impl RefUnwindSafe for Polarity
impl Send for Polarity
impl Sync for Polarity
impl Unpin for Polarity
impl UnsafeUnpin for Polarity
impl UnwindSafe for Polarity
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