[−][src]Attribute Macro serde_closure::generalize
#[generalize]
Attribute macro that can be applied to items to generalize trait bounds
FnOnce(…)
, FnMut(…)
and
Fn(…)
to traits::FnOnce<(…)>
,
traits::FnMut<(…)>
and traits::Fn<(…)>
.
See tests/stable.rs
for examples.