ResDictRes

Type Alias ResDictRes 

Source
pub type ResDictRes<T> = Resource<Dict<Resource<T>>>;
Expand description

A referenced or immediate dict of resources

Aliased Type§

pub enum ResDictRes<T> {
    Global {
        index: usize,
    },
    Immediate(Box<BTreeMap<String, Resource<T>>>),
}

Variants§

§

Global

Use the resource at {index} from the global list

Fields

§index: usize

The index into the global list

§

Immediate(Box<BTreeMap<String, Resource<T>>>)

Use the value in the box