// defines the methods which can be used with a NamedLocation
// you should put all the things you can do with an instance of a type in one impl block
defines the methods which can be used with a NamedLocation
you should put all the things you can do with an instance of a type in one impl block
defines the methods which can be used with a NamedLocation you should put all the things you can do with an instance of a type in one impl block
fn is_upper_hemisphere(&self) -> bool {
        match self.location.wkid {
            4326 => 0.0 < self.location.y,
            _ => false
        }
    }
fn is_upper_hemisphere ( & self ) -> bool { match self . location . wkid { 4326 => 0.0 < self . location . y , _ => false } }
defines the methods which can be used with a NamedLocation
you should put all the things you can do with an instance of a type in one impl block
defines the methods which can be used with a NamedLocation you should put all the things you can do with an instance of a type in one impl block
&self