Struct gdal::spatial_ref::SpatialRef
source · pub struct SpatialRef(_);
Implementations
sourceimpl SpatialRef
impl SpatialRef
pub fn new() -> Result<SpatialRef>
pub fn from_definition(definition: &str) -> Result<SpatialRef>
pub fn from_wkt(wkt: &str) -> Result<SpatialRef>
pub fn from_epsg(epsg_code: u32) -> Result<SpatialRef>
pub fn from_proj4(proj4_string: &str) -> Result<SpatialRef>
pub fn from_esri(esri_wkt: &str) -> Result<SpatialRef>
pub fn from_c_obj(c_obj: OGRSpatialReferenceH) -> Result<SpatialRef>
pub fn to_wkt(&self) -> Result<String>
pub fn morph_to_esri(&self) -> Result<()>
pub fn to_pretty_wkt(&self) -> Result<String>
pub fn to_xml(&self) -> Result<String>
pub fn to_proj4(&self) -> Result<String>
pub fn auth_name(&self) -> Result<String>
pub fn auth_code(&self) -> Result<i32>
pub fn auto_identify_epsg(&mut self) -> Result<()>
pub fn to_c_hsrs(&self) -> OGRSpatialReferenceH
Trait Implementations
sourceimpl Clone for SpatialRef
impl Clone for SpatialRef
sourcefn clone(&self) -> SpatialRef
fn clone(&self) -> SpatialRef
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SpatialRef
impl Debug for SpatialRef
sourceimpl Drop for SpatialRef
impl Drop for SpatialRef
sourceimpl PartialEq<SpatialRef> for SpatialRef
impl PartialEq<SpatialRef> for SpatialRef
sourcefn eq(&self, other: &SpatialRef) -> bool
fn eq(&self, other: &SpatialRef) -> bool
Auto Trait Implementations
impl RefUnwindSafe for SpatialRef
impl !Send for SpatialRef
impl !Sync for SpatialRef
impl Unpin for SpatialRef
impl UnwindSafe for SpatialRef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more