Trait opencv_binding_generator::EntityExt
source · 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
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
Implementations on Foreign Types
sourceimpl<'tu> EntityExt<'tu> for Entity<'tu>
impl<'tu> EntityExt<'tu> for Entity<'tu>
sourcefn walk_children_while(&self, predicate: impl FnMut(Entity<'tu>) -> bool) -> bool
fn walk_children_while(&self, predicate: impl FnMut(Entity<'tu>) -> bool) -> bool
Arguments
predicate
: returns true to continue iteration or false to break returns: true if predicate returned false, false otherwise