pub type SpaceSegment = Segment<SpaceOffset>;
Expand description

Alias

Aliased Type§

struct SpaceSegment {
    pub power: u8,
    pub offset: SpaceOffset,
}

Fields§

§power: u8

The exponent, where length = 2^power

§offset: SpaceOffset

The offset from the origin, measured in number of lengths

Implementations§

source§

impl SpaceSegment

source

pub fn loc_bounds(&self, topo: &Topology) -> (Loc, Loc)

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