pub enum SharedResource {}Expand description
Shared owners retain only values that can be accessed and dropped on any thread.
Trait Implementations§
fn retain(value: D) -> ResourceRef<Self::Erased>
fn copy( value: ResourceRef<<SharedResource as ResourcePolicy>::Erased>, ) -> ResourceRef<Self::Erased>
Auto Trait Implementations§
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