Type Alias ActorAlignmentMapping

Source
pub type ActorAlignmentMapping = VnodeMapping<ActorAlignment>;
Expand description

A mapping from VirtualNode to ActorAlignmentId.

Aliased Type§

pub struct ActorAlignmentMapping {
    original_indices: Vec<u32>,
    data: Vec<ActorAlignmentId>,
}

Fields§

§original_indices: Vec<u32>§data: Vec<ActorAlignmentId>

Implementations§

Source§

impl ActorAlignmentMapping

Source

pub fn from_assignment( assignment: BTreeMap<u32, BTreeMap<usize, Vec<usize>>>, vnode_size: usize, ) -> Self