Trait timely::container::flatcontainer::RegionPreference
source · pub trait RegionPreference {
type Owned;
type Region: Region<Owned = Self::Owned>;
}
Expand description
A trait to let types express a default container type and an owned type, which can be used to define regions in simpler terms.
§Example
let _ = FlatStack::<<((Vec<String>, &[usize]), Option<String>, Result<u8, u16>) as RegionPreference>::Region>::default();