pub struct TDesc<const B: bool>();Expand description
Marker type generic on a bool, which has the [TArch] trait implemented for it for (true) an assembler architecture specific timer implementation, and (false) for a std::time implementation
This is used in a ‘where’ clause for a type, e.g.
ⓘ
fn foo<const S: bool>(... t: &Timer<S>) -> ()
where
TDesc<S>: TArch,Trait Implementations§
Auto Trait Implementations§
impl<const B: bool> Freeze for TDesc<B>
impl<const B: bool> RefUnwindSafe for TDesc<B>
impl<const B: bool> Send for TDesc<B>
impl<const B: bool> Sync for TDesc<B>
impl<const B: bool> Unpin for TDesc<B>
impl<const B: bool> UnwindSafe for TDesc<B>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more