Skip to main content

LocationImpl

Trait LocationImpl 

Source
pub trait LocationImpl: ObjectImpl {
    // Provided methods
    fn latitude(&self) -> f64 { ... }
    fn longitude(&self) -> f64 { ... }
    fn set_location(&self, latitude: f64, longitude: f64) { ... }
}

Provided Methods§

Source

fn latitude(&self) -> f64

Source

fn longitude(&self) -> f64

Source

fn set_location(&self, latitude: f64, longitude: f64)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§