changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > core / rust/lib/obj/src/coll.rs

changeset 698: 96958d3eb5b0
parent: 920ded613f45
author: Richard Westhaver <ellis@rwest.io>
date: Fri, 04 Oct 2024 22:04:59 -0400
permissions: -rw-r--r--
description: fixes
1 //! # coll
2 use crate::Objective;
3 
4 use hash::Id;
5 use std::collections::BTreeMap;
6 
7 /// Collection container trait for single-typed sets
8 pub type Coll<T> = Vec<Box<T>>;
9 
10 pub struct Collection<T: Objective>(BTreeMap<Id, T>);