Macro mem_query::col[][src]

macro_rules! col {
    ($viz:vis $name:ident : $ty:ty $(; $($derive:ident),*)?) => { ... };
}
Expand description

A macro to define a field.

The col! macro defines a column type that will properly interact with memquery. The inner type must be 'static and cannot take any generic parameters.

Most derivable traits in std are automatically implemented for the resulting type.

col!{ pub TestField: u32 }