pub enum LocalResource {}Expand description
Local resources may retain local callbacks and other local resources.
Trait Implementations§
Source§impl<D: Any> AcceptDependency<D> for LocalResource
impl<D: Any> AcceptDependency<D> for LocalResource
fn retain(value: D) -> ResourceRef<Self::Erased>
fn copy( value: ResourceRef<<SharedResource as ResourcePolicy>::Erased>, ) -> ResourceRef<Self::Erased>
Auto Trait Implementations§
impl Freeze for LocalResource
impl RefUnwindSafe for LocalResource
impl Send for LocalResource
impl Sync for LocalResource
impl Unpin for LocalResource
impl UnsafeUnpin for LocalResource
impl UnwindSafe for LocalResource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more