pub struct LambertGrid {
pub width: u32,
pub height: u32,
pub projection: LambertConformal,
pub x0: f64,
pub y0: f64,
pub dx: f64,
pub dy: f64,
}Expand description
A grid on a map projection: the first cell’s centre and the steps, in
projected metres, dy negative because rows run north to south.
Fields§
§width: u32§height: u32§projection: LambertConformal§x0: f64§y0: f64§dx: f64§dy: f64Trait Implementations§
Source§impl Clone for LambertGrid
impl Clone for LambertGrid
impl Copy for LambertGrid
Source§impl Debug for LambertGrid
impl Debug for LambertGrid
Source§impl PartialEq for LambertGrid
impl PartialEq for LambertGrid
impl StructuralPartialEq for LambertGrid
Auto Trait Implementations§
impl Forget for LambertGrid
impl Freeze for LambertGrid
impl Move for LambertGrid
impl RefUnwindSafe for LambertGrid
impl Send for LambertGrid
impl Sync for LambertGrid
impl Unpin for LambertGrid
impl UnsafeUnpin for LambertGrid
impl UnwindSafe for LambertGrid
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,
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