1
2
3
4
5
6
7
8
#![doc = include_str!("./README.md")]

pub use get_field_by_type_derive::GetFieldByType;

pub trait GetFieldByType<T> {
    /// Get the value of a field that has type T
    fn get(&self) -> &T;
}