pub struct PlatformExtWrapper(pub Arc<dyn PlatformExt>);Expand description
Wrapper that makes Arc<dyn PlatformExt> storable in the Any-based
extensions map. Use downcast_ref::<PlatformExtWrapper>() to retrieve it.
Tuple Fields§
§0: Arc<dyn PlatformExt>Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PlatformExtWrapper
impl !UnwindSafe for PlatformExtWrapper
impl Freeze for PlatformExtWrapper
impl Send for PlatformExtWrapper
impl Sync for PlatformExtWrapper
impl Unpin for PlatformExtWrapper
impl UnsafeUnpin for PlatformExtWrapper
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