Struct flo_ui::ResourceManager [] [src]

pub struct ResourceManager<T: Send + Sync> { /* fields omitted */ }

The resource manager is used to track resources of a particular type

Methods

impl<T: 'static + Send + Sync> ResourceManager<T>
[src]

[src]

Creates a new resource manager

[src]

Registers a resource with this object

[src]

Given a resource ID, returns the corresponding resource

[src]

Assigns a name to a particular resource

[src]

Retrieves the name for a particular resource

[src]

Retrieves a resource by name

Trait Implementations

Auto Trait Implementations

impl<T> Send for ResourceManager<T>

impl<T> Sync for ResourceManager<T>