pub(crate) fn add_node(name: &Ident, generics: &Generics) {
    // Map everything to a string here. Compiler panics horribly if we hand out
    // the actual idents and generics.
    let node = Type {
        name: name.to_string(),
        generics: generics.to_token_stream().to_string(),
    };
    TYPES.with(|c| c.borrow_mut().push(node));
}
/// Add an item to the collection of arena types.
Add an item to the collection of arena types.
Add an item to the collection of arena types .
pub(crate) fn add_node(name: &Ident, generics: &Generics) {
    // Map everything to a string here. Compiler panics horribly if we hand out
    // the actual idents and generics.
    let node = Type {
        name: name.to_string(),
        generics: generics.to_token_stream().to_string(),
    };
    TYPES.with(|c| c.borrow_mut().push(node));
}
pub ( crate ) fn add_node ( name : & Ident , generics : & Generics ) { // Map everything to a string here. Compiler panics horribly if we hand out // the actual idents and generics. let node = Type { name : name . to_string ( ) , generics : generics . to_token_stream ( ) . to_string ( ) , } ; TYPES . with ( | c | c . borrow_mut ( ) . push ( node ) ) ; }
Add an item to the collection of arena types.
Add an item to the collection of arena types .
name
&Ident
generics
&Generics
name
&Ident
generics
&Generics