rstmt_core/freq/
mod.rs

1/*
2    appellation: freq <module>
3    authors: @FL03
4*/
5//! The `freq` module defines the [`Frequency`] type and its associated traits and implementations.
6#[doc(inline)]
7pub use self::{frequency::Frequency, traits::*, utils::*};
8
9mod frequency;
10
11mod impls {
12    pub mod impl_freq;
13    pub mod impl_freq_ops;
14    #[cfg(feature = "rand")]
15    pub mod impl_freq_rand;
16    pub mod impl_freq_repr;
17}
18
19mod traits {
20    //! this module provides various traits to support various representations and operations
21    //! related to frequencies.
22    #[doc(inline)]
23    pub use self::prelude::*;
24
25    mod convert;
26    mod frequency;
27
28    pub(crate) mod prelude {
29        #[doc(inline)]
30        pub use super::convert::*;
31        #[doc(inline)]
32        pub use super::frequency::*;
33    }
34}
35
36mod utils {
37    //! this module implements additional methods and utilities for working with frequencies.
38    #[doc(inline)]
39    pub use self::prelude::*;
40
41    mod scale;
42
43    pub(crate) mod prelude {
44        #[doc(inline)]
45        pub use super::scale::*;
46    }
47}
48
49pub(crate) mod prelude {
50    #[doc(inline)]
51    pub use super::frequency::*;
52    #[doc(inline)]
53    pub use super::traits::*;
54    #[doc(inline)]
55    pub use super::utils::prelude::*;
56}