Resource

Trait Resource 

Source
pub trait Resource:
    Send
    + Sync
    + 'static { }

Implementations§

Source§

impl dyn Resource

Source

pub unsafe fn downcast_ref<T: Resource>(&self) -> &T

Source

pub unsafe fn downcast_mut<T: Resource>(&mut self) -> &mut T

Implementors§

Source§

impl<T> Resource for T
where T: Send + Sync + 'static,