pub trait EntityExt<'tu> {
    fn walk_children_while(
        &self,
        predicate: impl FnMut(Entity<'tu>) -> WalkAction
    ) -> WalkResult; fn walk_bases_while(
        &self,
        predicate: impl FnMut(Entity<'tu>) -> WalkAction
    ) -> WalkResult; fn walk_enums_while(
        &self,
        predicate: impl FnMut(Entity<'tu>) -> WalkAction
    ) -> WalkResult; fn walk_classes_while(
        &self,
        predicate: impl FnMut(Entity<'tu>) -> WalkAction
    ) -> WalkResult; fn walk_typedefs_while(
        &self,
        predicate: impl FnMut(Entity<'tu>) -> WalkAction
    ) -> WalkResult; fn walk_fields_while(
        &self,
        predicate: impl FnMut(Entity<'tu>) -> WalkAction
    ) -> WalkResult; fn walk_consts_while(
        &self,
        predicate: impl FnMut(Entity<'tu>) -> WalkAction
    ) -> WalkResult; fn walk_methods_while(
        &self,
        predicate: impl FnMut(Entity<'tu>) -> WalkAction
    ) -> WalkResult; }

Required Methods§

Implementations on Foreign Types§

Arguments
  • predicate: returns true to continue iteration or false to stop returns: true if predicate stopped iteration, false otherwise

Implementors§