tempa 0.1.15

A no_std temporal system for animation and simulation, providing time, duration, time ranges, frame rates, and deterministic frame-index stepping.
Documentation
macro_rules! impl_rate_fps {
	($($fps:literal),+ $(,)?) => {
		impl<T> FrameRate<T>
		where
			T: ::rinia::numeric::LossyCastFrom<u16>,
		{
			$(
				::pastey::paste! {
					#[doc = concat!("Returns a [FrameRate] of ", stringify!($fps), " frames per second.")]
					#[inline]
					pub fn [<fps_ $fps>]() -> Self {
						Self::new(T::lossy_cast_from($fps as u16))
					}
				}
			)+
		}
	};
}

pub(crate) use impl_rate_fps;