Struct jconfig::config::FieldView
[−]
[src]
pub struct FieldView<'a>(_, _);
Returned with the ConfigItems
iterator.
Methods
impl<'a> FieldView<'a>
[src]
fn is<V: Field>(&self) -> bool
Check if a FieldView
is a certain field.
fn key(&self) -> &'a str
Get the field name as a slice.
fn value<V: Field>(&self) -> Option<&'a V>
Cast the value to a certain field type.
fn value_string(&self) -> String
Get just the value as a String
.