/// Iterates through "auxiliary node IDs", which are node IDs that describe
/// top-level items that are sub-items of the given item. Specifically:
///
/// * For newtype structs, iterates through the node ID of the constructor.
Iterates through "auxiliary node IDs", which are node IDs that describe
top-level items that are sub-items of the given item. Specifically.

For newtype structs, iterates through the node ID of the constructor.
Iterates through " auxiliary node IDs " which are node IDs that describe top - level items that are sub - items of the given item . Specifically . For newtype structs iterates through the node ID of the constructor .
fn each_auxiliary_node_id<F>(item: &hir::Item, callback: F) -> bool where
    F: FnOnce(NodeId) -> bool,
{
    let mut continue_ = true;
    match item.node {
        hir::ItemStruct(ref struct_def, _) => {
            // If this is a newtype struct, return the constructor.
            if struct_def.is_tuple() {
                continue_ = callback(struct_def.id());
            }
        }
        _ => {}
    }
    continue_
}
fn each_auxiliary_node_id < F > ( item : & hir :: Item , callback : F ) -> bool where F : FnOnce ( NodeId ) -> bool , { let mut continue_ = true ; match item . node { hir :: ItemStruct ( ref struct_def , _ ) => { // If this is a newtype struct, return the constructor. if struct_def . is_tuple ( ) { continue_ = callback ( struct_def . id ( ) ) ; } } _ => { } } continue_ }
Iterates through "auxiliary node IDs", which are node IDs that describe
top-level items that are sub-items of the given item.
Iterates through " auxiliary node IDs " which are node IDs that describe top - level items that are sub - items of the given item .
item
&hir::Item
callback
F