Type Definition spectrusty_core::clock::FTs
source · pub type FTs = i32;
Expand description
A linear T-state timestamp type.
Trait Implementations§
source§impl TimestampOps for FTs
impl TimestampOps for FTs
source§fn from_tstates(ts: FTs) -> Self
fn from_tstates(ts: FTs) -> Self
Returns a normalized timestamp from the given number of T-states. Read more
source§fn into_tstates(self) -> FTs
fn into_tstates(self) -> FTs
Converts the timestamp to FTs. Read more
source§fn max_value() -> Self
fn max_value() -> Self
Returns the largest value that can be represented by a normalized timestamp.
source§fn min_value() -> Self
fn min_value() -> Self
Returns the smallest value that can be represented by a normalized timestamp.
source§fn saturating_add(self, other: Self) -> Self
fn saturating_add(self, other: Self) -> Self
Returns a normalized timestamp after adding
other
to it. Read moresource§fn saturating_sub(self, other: Self) -> Self
fn saturating_sub(self, other: Self) -> Self
Returns a normalized timestamp after subtracting
other
from it. Read more