pub struct NonErasedData<Metadata> {
pub handle: usize,
pub refcount: Weak<()>,
pub inner: Metadata,
}
Expand description
Per-value data that isn’t type erased in a ArchitypicalErasedRegistry.
Fields
handle: usize
refcount: Weak<()>
inner: Metadata
Auto Trait Implementations
impl<Metadata> RefUnwindSafe for NonErasedData<Metadata> where
Metadata: RefUnwindSafe,
impl<Metadata> Send for NonErasedData<Metadata> where
Metadata: Send,
impl<Metadata> Sync for NonErasedData<Metadata> where
Metadata: Sync,
impl<Metadata> Unpin for NonErasedData<Metadata> where
Metadata: Unpin,
impl<Metadata> UnwindSafe for NonErasedData<Metadata> where
Metadata: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more