pub trait GetFieldByType<T> {
    // Required method
    fn get(&self) -> &T;
}

Required Methods§

source

fn get(&self) -> &T

Get the value of a field that has type T

Implementors§