Skip to main content

SetField

Type Alias SetField 

Source
pub type SetField<'a> = &'a dyn Fn(&Ident, &Insert) -> TokenStream;
Expand description

Renders field = value on the active row, where Insert::Value is convertible into the field type with Into. Insert::Default is never passed.