devela/phys/time/
no.rs

1// devela::phys::time::no
2//
3//! Not a time.
4//
5
6/// Represents the absence of time.
7///
8/// This can be used anywhere an implementation of a time-related trait or
9/// a time component is expected, serving as a no-op placeholder.
10///
11/// # Notes
12/// - This is a type alias for `()`, so you cannot use `NoTime` as a constructor.
13///   Instead, use the unit value directly (`()`).
14///
15/// # Example
16/// ```
17/// # use devela::{NoTime, TimeSplit};
18/// let split = TimeSplit::new_hour_nano(12u8, 30u8, 45u8, 500u16, (), ());
19/// ```
20pub type NoTime = ();