devela/sys/mem/ptr/
mod.rs

1// devela::sys::mem::ptr
2//
3//! Manually manage memory through raw pointers.
4//!
5// #![doc = crate::doc_!(extends: ptr)]
6//
7
8mod namespace; // Ptr
9mod reexports; // ::core::ptr::*
10
11#[cfg(all(not(feature = "safe_mem"), feature = "unsafe_layout"))]
12mod fat;
13
14crate::items! { // structural access: _mods, _all, _always
15    #[allow(unused)]
16    pub use _mods::*;
17    #[allow(unused)] #[doc(hidden, no_inline)]
18    pub use _always::*;
19
20    mod _mods {
21        pub use super::{namespace::Ptr, reexports::*};
22        #[cfg(all(not(feature = "safe_mem"), feature = "unsafe_layout"))]
23        pub use super::fat::FatPtr;
24    }
25    pub(super) mod _all {
26        #[doc(inline)]
27        pub use super::_mods::*;
28    }
29    pub(super) mod _always { #![allow(unused)]
30        pub use super::reexports::*;
31    }
32}