// create implementations for the WellKnownSpatialReference enum
create implementations for the WellKnownSpatialReference enum
create implementations for the WellKnownSpatialReference enum
fn wkid(&self) -> Option<i32> {
        // returns the wkid only for WellKnownSpatialReference enums having a SpatialReference instance
        // all other enums return None
        match &self {
            WellKnownSpatialReference::WGS84(spatial_reference) => Some(spatial_reference.wkid),
            _ => None
        }
    }
fn wkid ( & self ) -> Option < i32 > { // returns the wkid only for WellKnownSpatialReference enums having a SpatialReference instance // all other enums return None match & self { WellKnownSpatialReference :: WGS84 ( spatial_reference ) => Some ( spatial_reference . wkid ) , _ => None } }
create implementations for the WellKnownSpatialReference enum
create implementations for the WellKnownSpatialReference enum
&self