Struct coord_transforms::structs::utm_grid::utm_grid
source · pub struct utm_grid { /* private fields */ }
Implementations§
source§impl utm_grid
impl utm_grid
pub fn new(
p_z: u32,
p_h: hemisphere,
p_e: f64,
p_n: f64,
p_c: f64,
p_s: f64
) -> utm_grid
pub fn set_zone(&mut self, z: u32)
pub fn set_hem(&mut self, h: hemisphere)
pub fn set_easting(&mut self, e: f64)
pub fn set_northing(&mut self, n: f64)
pub fn set_convergence(&mut self, n: f64)
pub fn set_scale(&mut self, n: f64)
pub fn get_zone(&self) -> u32
pub fn get_hem(&self) -> hemisphere
pub fn get_easting(&self) -> f64
pub fn get_northing(&self) -> f64
pub fn get_convergence(&self) -> f64
pub fn get_scale(&self) -> f64
Auto Trait Implementations§
impl RefUnwindSafe for utm_grid
impl Send for utm_grid
impl Sync for utm_grid
impl Unpin for utm_grid
impl UnwindSafe for utm_grid
Blanket Implementations§
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§unsafe fn to_subset_unchecked(&self) -> SS
unsafe fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.