devela/media/image/
mod.rs

1// devela::media::image
2//
3//! Image manipulation.
4#![doc = crate::doc_!(modules: crate::media; image: sixel)]
5// #![doc = crate::doc_!(newline)]
6//
7// safety
8#![cfg_attr(feature = "safe_image", forbid(unsafe_code))]
9
10mod error;
11mod pnm;
12
13#[cfg(all(feature = "alloc", feature = "term"))]
14#[cfg(any(feature = "io", feature = "std"))]
15#[cfg(any(feature = "dep_hashbrown", feature = "std"))]
16#[cfg_attr(feature = "nightly_doc", doc(cfg(all(feature = "alloc", feature = "term"))))]
17#[cfg_attr(feature = "nightly_doc", doc(cfg(any(feature = "io", feature = "std"))))]
18#[cfg_attr(feature = "nightly_doc", doc(cfg(any(feature = "dep_hashbrown", feature = "std"))))]
19pub mod sixel;
20
21crate::items! { // structural access: _mods, _pub_mods, _all, _always
22    #[allow(unused)]
23    pub use _mods::*;
24    #[allow(unused)] #[doc(hidden, no_inline)]
25    pub use {_always::*, _pub_mods::*};
26
27    mod _mods {
28        pub use super::{error::*, pnm::*};
29    }
30    mod _pub_mods { #![allow(unused)]
31        #[cfg(all(feature = "alloc", feature = "term"))]
32        #[cfg(any(feature = "io", feature = "std"))]
33        #[cfg(any(feature = "dep_hashbrown", feature = "std"))]
34        pub use super::sixel::_all::*;
35    }
36    pub(super) mod _all { #![allow(unused)]
37        #[doc(inline)]
38        pub use super::{_mods::*, _pub_mods::*};
39    }
40    pub(super) mod _always { #![allow(unused)]
41    }
42}