Struct ::exo::vs::LocationSettings

Overview

Settings for the reference typ which is used for variables

Methods

Creates a new LocationSettings object.

Example

let s = exo::vs::LocationSettings::new();
assert!(s is exo::vs::LocationSettings);

Clones the LocationSettings object and returns a new independet one.

Example

let s0 = exo::vs::LocationSettings::new();
let s1 = s0.clone();
assert_eq!(s0, s1);
s1.locate_me = true;
s1.validation = false;
s1.lat_long = true;
assert_ne!(s0, s1);

Protocols

protocol get locate_me
let output = value.locate_me

Allows a get operation to work.

protocol set locate_me
value.locate_me = input

Allows a set operation to work.

protocol get validation
let output = value.validation

Allows a get operation to work.

protocol set validation
value.validation = input

Allows a set operation to work.

protocol get lat_long
let output = value.lat_long

Allows a get operation to work.

protocol set lat_long
value.lat_long = input

Allows a set operation to work.

protocol partial_eq
if value == b { }

Allows for partial equality operations to work.

protocol string_debug
println("{:?}", value)

Allows the value to be debug printed.

protocol string_display
println("{}", value)

Allows the value to be display printed.