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

Required Methods

Implementations on Foreign Types

Arguments
  • predicate: returns true to continue iteration or false to break returns: true if predicate returned false, false otherwise

Implementors