Function freya::prelude::with_owner
pub fn with_owner<S, F, R>(owner: Owner<S>, f: F) -> Rwhere
S: AnyStorage,
F: FnOnce() -> R,
Expand description
Run a closure with the given owner.
pub fn with_owner<S, F, R>(owner: Owner<S>, f: F) -> Rwhere
S: AnyStorage,
F: FnOnce() -> R,
Run a closure with the given owner.