Macro kernel::impl_has_hr_timer
source · macro_rules! impl_has_hr_timer { ( impl$({$($generics:tt)*})? HasHrTimer<$timer_type:ty> for $self:ty { self.$field:ident } $($rest:tt)* ) => { ... }; }
Expand description
Use to implement the HasHrTimer<T>
trait.
See module
documentation for an example.