::core::

Primitive clock

Expand

A clock.

Implementations

impl clock
pub unsafe fn as_bool(self) -> bool

Casts a clock signal to a bool by reinterpreting its bit.

This function must be used with caution. Using clock signals as part of logic expressions may lead to unexpected issues depending on the target.

pub unsafe fn to_bool(self) -> bool

Casts a clock signal to a bool by reinterpreting its bit.

This function must be used with caution. Using clock signals as part of logic expressions may lead to unexpected issues depending on the target.