[−][src]Function gluon_base::types::walk_move_type
pub fn walk_move_type<F: ?Sized, I, T>(typ: T, f: &mut F) -> T where
F: TypeVisitor<I, T>,
T: TypePtr<Id = I> + Clone,
T::Types: Clone,
T::Generics: Clone,
T::Fields: Clone,
T::TypeFields: Clone,
I: Clone,
Walks through a type calling f
on each inner type. If f
return Some
the type is replaced.