1// devela::sys::mem::cell::reexports
2//
3//! Reexported items from `core`.
4//
56use crate::reexport;
78/* core */
910reexport! { rust: core::cell,
11 tag: crate::TAG_ERROR!(),
12 doc: "An error returned by [`RefCell::try_borrow`].",
13 @BorrowError as RefCellBorrowError
14}
15reexport! { rust: core::cell,
16 tag: crate::TAG_ERROR!(),
17 doc: "An error returned by [`RefCell::try_borrow_mut`].",
18 @BorrowMutError as RefCellBorrowMutError
19}
20reexport! { rust: core::cell,
21 doc: "A mutable memory location.",
22 Cell
23}
24reexport! { rust: core::cell,
25 doc: "A value which is initialized on the first access.",
26 LazyCell
27}
28reexport! { rust: core::cell,
29 doc: "A cell which can nominally be written to only once.",
30 OnceCell
31}
32reexport! { rust: core::cell,
33 doc: "A mutable memory location with dynamically checked borrow rules.",
34 RefCell
35}
36reexport! { rust: core::cell,
37 doc: "A wrapper type for an inmutably borrowed value from a `RefCell<T>`",
38 Ref
39}
40reexport! { rust: core::cell,
41 doc: "A wrapper type for a mutably borrowed value from a `RefCell<T>`",
42 RefMut
43}
44reexport! { rust: core::cell,
45 doc: "The core primitive for interior mutability in Rust.",
46 UnsafeCell
47}