Function substrate::type_dispatch::derive::field_tokens
source · pub fn field_tokens(
style: Style,
vis: &Visibility,
attrs: &Vec<Attribute>,
idx: usize,
ident: &Option<Ident>
) -> FieldTokens
Expand description
Returns a FieldTokens
object for a struct that can be referenced with self
.