Function warn::closure [] [src]

pub fn closure<W, F: FnMut(W)>(fn_: &mut F) -> &mut Closure<W, F>

Applies a function to all warnings passed to this object.