Trait jconfig::field::Field [] [src]

pub trait Field: Display + Any + FieldClone {
    fn key() -> &'static str
    where
        Self: Sized
; fn decode(raw: &RawValue) -> Result<Self>
    where
        Self: Sized
; fn encode(&self) -> RawValue; }

Any object that will represent a config field.

Required Methods

Returns the key of the config field.

Implementors