Function freya::prelude::with_owner

pub fn with_owner<S, F, R>(owner: Owner<S>, f: F) -> R
where S: AnyStorage, F: FnOnce() -> R,
Expand description

Run a closure with the given owner.