pub type TimeSegment = Segment<TimeOffset>;
Expand description

Alias

Aliased Type§

struct TimeSegment {
    pub power: u8,
    pub offset: TimeOffset,
}

Fields§

§power: u8

The exponent, where length = 2^power

§offset: TimeOffset

The offset from the origin, measured in number of lengths

Implementations§

source§

impl TimeSegment

source

pub fn timestamp_bounds(&self, topo: &Topology) -> (Timestamp, Timestamp)

Get the start and end bounds, in absolute Timestamp coordinates, for this segment