PackedFnMut

Trait PackedFnMut 

Source
pub trait PackedFnMut<'a, 'b, 'c, B: FnPtr>: FnMut(B::Args<'a, 'b, 'c>) -> B::Ret<'a, 'b, 'c> { }
Expand description

Trait alias for FnMut(B::Args<'a, 'b, 'c>) -> B::Ret<'a, 'b, 'c>.

This is necessary to express the return type of FnPtr::make_mut_thunk.

Implementors§

Source§

impl<'a, 'b, 'c, B: FnPtr, F> PackedFnMut<'a, 'b, 'c, B> for F
where F: FnMut(B::Args<'a, 'b, 'c>) -> B::Ret<'a, 'b, 'c>,