core-animation 0.3.3

Ergonomic Rust bindings for macOS Core Animation with builder patterns
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Extension trait for `Duration` literals.
//!
//! Re-exported from the [`duration_ext`] crate.
//!
//! ```ignore
//! 5.seconds()      // 5 sec
//! 500.millis()     // 500 ms
//! 1.5.seconds()    // 1.5 sec (f64)
//! 2.minutes()      // 2 min
//! 1.hours()        // 1 hour
//! ```

pub use duration_ext::DurationExt;