Trait stc_ts_utils::map_with_mut::MapWithMut
source · [−]pub trait MapWithMut: Sized {
fn dummy() -> Self;
fn take(&mut self) -> Self { ... }
fn map_with_mut<F>(&mut self, op: F)
where
F: FnOnce(Self) -> Self,
{ ... }
}
Expand description
Helper for migration from [Fold] to [VisitMut]
Required Methods
Provided Methods
sourcefn map_with_mut<F>(&mut self, op: F)where