All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
OrderedLots::clear()
removes all entries from the collection.OrderedLots::truncate()
truncates the collection's length.
Lots::iter_mut()
is now implemented.
OrderedLots::remove_by_index()
removes a value by its index.OrderedLots::index_of_id()
returns the index of a contained LotId.OrderedLots::id()
returns the LotId for a given index.OrderedLots::first()
/first_mut()
/last()
/last_mut()
have been added to return the first and last elements in the collection.OrderedLots::swap()
swaps the location of two values contained in the collection.
LotId::index
,LotId::generation
, andGeneration
are now private.
LotId::to_bytes
andLotId::from_bytes
are functions that encode and decode aLotId
into a portable representation. This has been designed such that if two networked clients were applying identically ordered changes to their collections and exchangingLotId
s, the byte representations would be compatible regardless of what CPU architecture generated the bytes.ordered::Lots::pop
/ordered::Lots::pop_entry
are new functions that remove the final item from the collection.LotId
now implementsOrd
.
Initial release.