pub enum NormalizeMode {
Ra0To2Pi,
LonMinusPiToPi,
DecClamped,
}Expand description
Specifies which normalization convention to apply.
Used when a function needs to normalize angles but the appropriate range depends on what the angle represents.
Variants§
Ra0To2Pi
Right ascension: wrap to [0, 2pi).
LonMinusPiToPi
Longitude or hour angle: wrap to [-pi, +pi).
DecClamped
Declination or latitude: clamp to [-pi/2, +pi/2].
Trait Implementations§
Source§impl Clone for NormalizeMode
impl Clone for NormalizeMode
Source§fn clone(&self) -> NormalizeMode
fn clone(&self) -> NormalizeMode
Returns a duplicate 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 NormalizeMode
impl Debug for NormalizeMode
impl Copy for NormalizeMode
Auto Trait Implementations§
impl Freeze for NormalizeMode
impl RefUnwindSafe for NormalizeMode
impl Send for NormalizeMode
impl Sync for NormalizeMode
impl Unpin for NormalizeMode
impl UnwindSafe for NormalizeMode
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