pub struct FieldToken {
pub attrs: HashMap<String, AttrToken>,
pub visibility: Option<TokenTree>,
pub identifier: TokenTree,
pub ty: TyToken,
}
Expand description
struct filed token allow to decode the struct fields defined as described in https://doc.rust-lang.org/stable/reference/items/structs.html
Fields§
§attrs: HashMap<String, AttrToken>
§visibility: Option<TokenTree>
§identifier: TokenTree
§ty: TyToken
Trait Implementations§
Source§impl Debug for FieldToken
impl Debug for FieldToken
Auto Trait Implementations§
impl Freeze for FieldToken
impl RefUnwindSafe for FieldToken
impl !Send for FieldToken
impl !Sync for FieldToken
impl Unpin for FieldToken
impl UnwindSafe for FieldToken
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more