Function type_dispatch::derive::field_tokens_with_referent
source · pub fn field_tokens_with_referent(
style: Style,
vis: &Visibility,
attrs: &Vec<Attribute>,
idx: usize,
ident: &Option<Ident>,
referent: TokenStream
) -> FieldTokens
Expand description
Returns a FieldTokens
object for a struct that can be referenced using
the tokens in referent
.