pub struct Band {
pub phi_min: f64,
pub phi_max: f64,
}Expand description
A latitude band: all points with polar angle phi in [phi_min, phi_max].
phi = 0 is the north pole; phi = π is the south pole.
Fields§
§phi_min: f64§phi_max: f64Implementations§
Trait Implementations§
Source§impl Contains for Band
impl Contains for Band
Source§fn contains(&self, point: &SphericalPoint) -> bool
fn contains(&self, point: &SphericalPoint) -> bool
Returns
true if point lies inside (or on the boundary of) this region.impl Copy for Band
Source§impl<'de> Deserialize<'de> for Band
impl<'de> Deserialize<'de> for Band
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Band
Auto Trait Implementations§
impl Freeze for Band
impl RefUnwindSafe for Band
impl Send for Band
impl Sync for Band
impl Unpin for Band
impl UnsafeUnpin for Band
impl UnwindSafe for Band
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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