macro_rules! declare_new_fn {
(
$(#[ $meta:meta ])*
$(< $( $gen:ident ),* >,)?
$tr:path $( :<$( $trgen:ident ),*> )? $(:+ $atr:path )*,
$vis:vis $name:ident $(,)?
) => { ... };
}👎Deprecated since 3.2.0: this has been replaced with
declare_new_fns. Convert to the new macro or expand this oneExpand description
DEPRECATED, use declare_new_fns instead!
Declare new and new_mut functions for dyn slices of a trait