Releases: JustForFun88/double-map
Releases · JustForFun88/double-map
Version 0.14.0
Version 0.12.0
[v0.12.0] - 2022-04-23
Added
into_keys
DHashMap
method that creates a consuming iterator visiting all the keys in arbitrary order;into_values
DHashMap
method that creates a consuming iterator visiting all the values in arbitrary order;Extend
trait implementation forDHashMap
was
expanded (addExtend<&'a (K1, K2, V)>
);
Changed
Updated documentations and examples of some methods and structures (Iter
, Keys
, Values
, Drain
, IntoIter
structures, IntoIterator
trait implementations documentations, etc.)
Removed
Nothing
Fixed
Nothing
Version 0.11.0
[v0.11.0] - 2022-04-22
Added
Eq
trait implementation forDHashMap
;IntoIterator
trait implementation forDHashMap
;
Changed
Nothing
Removed
Nothing
Fixed
Nothing
Version 0.10.0
[v0.10.0] - 2022-04-21
Added
drain
DHashMap
method that clears the map, returning all keys-value tuples
as an arbitrary order iterator;get_mut_keys
DHashMap
method that returns a mutable reference to the value corresponding
to the given primary key(key #1)
and secondary key(key #2)
if they both exist and refer to
the same value;remove_keys
DHashMap
method that removes element from the map corresponding to the
given primary key(key #1)
and secondary key(key #2)
returning the value at the keys if
the keys was previously in the map and refer to the same value;- Add some clarifications to
capacity
,len
,is_empty
methods documentations.
Changed
Nothing
Removed
Nothing
Fixed
Nothing
Version 0.9.0
[v0.9.0] - 2022-04-20
Added
Changed
Improve realizations of some methods (get_key1
, get_key2
, get_keys
, get_key1_value
, get_key2_value
,
get_keys_value
, contains_keys
, get_mut_key1
, get_mut_key2
, remove_key1
, remove_key2
, insert_unchecked
)
Removed
- Removed unnecessary lifetime bounds on implementations of
ExactSizeIterator
forIter
,Keys
,Values
,IterMut
,ValuesMut
structures; - Removed
K1: Clone
andK2: Clone
bounds for allVacantEntry
methods exceptinsert
method; - Removed unnecessary
K1: Eq + Hash
andK2: Eq + Hash
bounds for allEntry
methods. Remained
K1: Clone
andK2: Clone
bounds only for the methods that need on it. - Removed unnecessary
K1: Eq + Hash + Clone
andK2: Eq + Hash + Clone
on implementations of
Display
and
Error
traits forOccupiedError
structure. - Removed unnecessary
K1: Eq + Hash + Clone
andK2: Eq + Hash + Clone
on implementations of
Display
and
Error
traits forTryInsertError
structure.
Fixed
Nothing
Version 0.8.0
[v0.8.0] - 2022-04-13
Added
get_keys
DHashMap
method that returns a reference to the value corresponding to the given primary
key and secondary key if they both exist and refer to the same value;get_key1_value
DHashMap
method that returns a reference to the key-value pair corresponding
to the given primary key: return the tuple of type(&'a K1, &'a V)
;get_key2_value
DHashMap
method that returns a reference to the key-value pair corresponding
to the given secondary key: return the tuple of type(&'a K2, &'a V)
;get_keys_value
DHashMap
method that returns a reference to the keys-value tuple corresponding
to the given primary key and secondary key if they both exist and refer to the same value: return
the tuple of type(&'a K1, &'a K2, &'a V)
;
Changed
Fixed several typos in previous documentation.
Removed
Nothign
Fixed
Nothing
Version 0.7.0
[v0.7.0] - 2022-04-11
Added
contains_key1
DHashMap
method that returns true if the map contains a value for the specified primary
key of typeK1
;contains_key2
DHashMap
method that returns true if the map contains a value for the specified secondary
key of typeK2
;contains_keys
DHashMap
method that returns true if the map contains a value for the specified primary
key of typeK1
and secondary key of typeK2
and also they both refer to the same value;
Changed
Nothign
Removed
Nothign
Fixed
Nothing
Version 0.6.0
[v0.6.0] - 2022-04-10
Added
keys
DHashMap
method for creation an iterator visiting all keys in arbitrary order;values
DHashMap
method for creation an iterator visiting all values in arbitrary order;values_mut
DHashMap
method for creation an iterator visiting all values mutably in arbitrary order.
Changed
Nothign
Removed
Nothign
Fixed
Nothing
Version 0.5.0
[v0.5.0] - 2022-04-05
Added
iter_mut
DHashMap
method for creation a mutable iterator visiting all keys-value tuples in arbitrary order.
Changed
Nothign
Removed
Nothign
Fixed
Nothing
Version 0.4.1
[v0.4.1] - 2022-04-04
Added
Nothing
Changed
Improved iter
DHashMap
method documentation.
Removed
Nothign
Fixed
Nothing