Trait c4::Accessor
[−]
[src]
pub trait Accessor { fn get_boolean(&self) -> bool; fn get_string(&self) -> String; fn get_i32(&self) -> i32; fn get_i64(&self) -> i64; fn get_f32(&self) -> f32; fn get_f64(&self) -> f64; fn within(&self, namespace: &str) -> Accessor; }
Required Methods
fn get_boolean(&self) -> bool
Default value: false
fn get_string(&self) -> String
Default value: empty string
fn get_i32(&self) -> i32
Default value: 0
fn get_i64(&self) -> i64
Default value: 0
fn get_f32(&self) -> f32
Default value: 0.
fn get_f64(&self) -> f64
Default value: 0.
fn within(&self, namespace: &str) -> Accessor
Produces an accessor scoped to a namespace