Skip to main content

Period

Type Alias Period 

Source
pub type Period<T> = Interval<T>;
Expand description

Backward-compatible generic period alias over an instant type T.

Aliased Type§

pub struct Period<T> {
    pub start: T,
    pub end: T,
}

Fields§

§start: T

Inclusive lower bound.

§end: T

Exclusive upper bound.