Function gluon_base::types::walk_move_type
source · pub fn walk_move_type<F, I, T>(typ: T, f: &mut F) -> T
Expand description
Walks through a type calling f
on each inner type. If f
return Some
the type is replaced.
pub fn walk_move_type<F, I, T>(typ: T, f: &mut F) -> T
Walks through a type calling f
on each inner type. If f
return Some
the type is replaced.