TArch

Trait TArch 

Source
pub trait TArch: ArchDesc { }
Expand description

Trait provided for architecture-specific timers

This is supported by a single assembler timer and a standard (std::time) timer; it is shown by looking for its implementation on the type crate::TDesc

This is used in a ‘where’ clause for a type, e.g.

fn foo<const S: bool>(... t: &Timer<S>) -> ()
where
   TDesc<S>: TArch,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> TArch for T
where T: ArchDesc,