devela/code/marker/
mod.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
// devela::code::marker
//
//! Marker types, traits and macros.
//!
#![doc = crate::doc_!(extends: marker)]
//

mod reexports; // core::marker re-exports
mod type_marker; // zero-cost generic type markers
mod type_resource; // zero-cost type-safe resource markers

crate::items! { // structural access: _mods, _all, _always
    #[allow(unused)]
    pub use _mods::*;
    #[allow(unused)] #[doc(hidden)] #[doc(no_inline)]
    pub use _always::*;

    mod _mods {
        pub use super::{reexports::*, type_marker::*, type_resource::*};
    }
    pub(super) mod _all { #![allow(unused)]
        #[doc(inline)]
        pub use super::_mods::*;
    }
    pub(super) mod _always { #![allow(unused)]
        pub use super::{reexports::*, type_marker::*, type_resource::*};
    }
}