fix read and write impls
This commit is contained in:
1 parent
0a8de1d40f
commit
ebbaacf073
4 files changed
+182
-103
No files matched your search
@@ -41,11 +41,10 @@ fn owner_in_scope<S: Storage<T>, T>(scope: ScopeId) -> Rc<Owner<S>> {
|
||||
// }
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
/// CopyValue is a wrapper around a value to make the value mutable and Copy.
|
||||
///
|
||||
/// It is internally backed by [`generational_box::GenerationalBox`].
|
||||
pub struct CopyValue<T: 'static, S: AnyStorage> {
|
||||
pub struct CopyValue<T: 'static, S: Storage<T>> {
|
||||
pub(crate) value: GenerationalBox<T, S>,
|
||||
origin_scope: ScopeId,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user