pub fn current_owner<S: AnyStorage>() -> Owner<S>
Expand description

Returns the current owner. This owner will be used to drop any Copy state that is created by the generational-box crate.

If an owner has been set with with_owner, that owner will be returned. Otherwise, the owner from the current scope will be returned.