Trait constellation::Resource
[−]
[src]
pub trait Resource: Any + Send + Sync { }
A resource whos system access is controlled by the World
.
Methods
impl Resource
[src]
unsafe fn downcast_ref_unsafe<T>(&self) -> &T
Returns a reference to the boxed value, blindly assuming it to be of type T
.
If you are not absolutely certain of T
, you must not call this.
unsafe fn downcast_mut_unsafe<T>(&mut self) -> &mut T
Returns a reference to the boxed value, blindly assuming it to be of type T
.
If you are not absolutely certain of T
, you must not call this.
Implementors
impl<T: Any + Send + Sync> Resource for MapResource<T>
impl<T: Any + Send + Sync> Resource for VecResource<T>