devela/sys/mem/cell/
reexports.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// devela::sys::mem::cell::reexports
//
//! Reexported items from `core`.
//

use crate::code::reexport;

/* core */

reexport! { rust: core::cell,
    doc: "A mutable memory location.",
    Cell
}
reexport! { rust: core::cell,
    doc: "A value which is initialized on the first access.",
    LazyCell
}
reexport! { rust: core::cell,
    doc: "A cell which can nominally be written to only once.",
    OnceCell
}
reexport! { rust: core::cell,
    doc: "A mutable memory location with dynamically checked borrow rules.",
    RefCell
}
reexport! { rust: core::cell,
    doc: "A wrapper type for an inmutably borrowed value from a `RefCell<T>`",
    Ref
}
reexport! { rust: core::cell,
    doc: "A wrapper type for a mutably borrowed value from a `RefCell<T>`",
    RefMut
}
reexport! { rust: core::cell,
    doc: "The core primitive for interior mutability in Rust.",
    UnsafeCell
}