CollapseCallback

Type Alias CollapseCallback 

Source
pub type CollapseCallback = Box<dyn FnOnce(CollapseReason) + Send + Sync + 'static>;
Expand description

Callback passed to Receiver::register_collapse_hook

Aliased Type§

pub struct CollapseCallback(/* private fields */);

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 16 bytes