List of all items
Structs
- LotId
- ordered::Drain
- ordered::EntryIter
- ordered::IntoIter
- ordered::Iter
- ordered::OrderedLots
- unordered::Drain
- unordered::DrainAll
- unordered::EntryIter
- unordered::IntoIter
- unordered::Iter
- unordered::IterMut
- unordered::Lots
diff --git a/main/alot/all.html b/main/alot/all.html index 0df2152..d262375 100644 --- a/main/alot/all.html +++ b/main/alot/all.html @@ -1 +1 @@ -
diff --git a/main/alot/ordered/index.html b/main/alot/ordered/index.html index 3d1e605..0802109 100644 --- a/main/alot/ordered/index.html +++ b/main/alot/ordered/index.html @@ -1,4 +1,4 @@ -
An ordered collection of values, accessible by LotId
or index.
An ordered collection of values, accessible by LotId
or index.
OrderedLots<T>
.OrderedLots<T>
that returns each contained value and
its associated LotId
.OrderedLots<T>
.T
values that maintains the order of elements.pub struct Drain<'a, T, Filter>where
+Drain in alot::ordered - Rust pub struct Drain<'a, T, Filter>where
Filter: DrainFilter<T>,{ /* private fields */ }
Expand description
An iterator over values being remoed from a OrderedLots<T>
.
Trait Implementations§
source§impl<'a, T, Filter> Drop for Drain<'a, T, Filter>where
Filter: DrainFilter<T>,
source§impl<'a, T, Filter> Iterator for Drain<'a, T, Filter>where
diff --git a/main/alot/ordered/struct.EntryIter.html b/main/alot/ordered/struct.EntryIter.html
index 8072d6e..a4b9058 100644
--- a/main/alot/ordered/struct.EntryIter.html
+++ b/main/alot/ordered/struct.EntryIter.html
@@ -1,4 +1,4 @@
-EntryIter in alot::ordered - Rust pub struct EntryIter<'a, T> { /* private fields */ }
Expand description
An iterator over an OrderedLots<T>
that returns each contained value and
+
EntryIter in alot::ordered - Rust pub struct EntryIter<'a, T> { /* private fields */ }
Expand description
An iterator over an OrderedLots<T>
that returns each contained value and
its associated LotId
.
Trait Implementations§
source§impl<'a, T> Iterator for EntryIter<'a, T>
source§fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value. Read moresource§fn next_chunk<const N: usize>(
&mut self,
diff --git a/main/alot/ordered/struct.IntoIter.html b/main/alot/ordered/struct.IntoIter.html
index 6c763b2..8354ff7 100644
--- a/main/alot/ordered/struct.IntoIter.html
+++ b/main/alot/ordered/struct.IntoIter.html
@@ -1,4 +1,4 @@
-IntoIter in alot::ordered - Rust pub struct IntoIter<T> { /* private fields */ }
Expand description
An iterator that removes all values from the collection and frees the
+
IntoIter in alot::ordered - Rust pub struct IntoIter<T> { /* private fields */ }
Expand description
An iterator that removes all values from the collection and frees the
underlying collection.
Trait Implementations§
source§impl<T> Iterator for IntoIter<T>
source§fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value. Read moresource§fn next_chunk<const N: usize>(
&mut self,
diff --git a/main/alot/ordered/struct.Iter.html b/main/alot/ordered/struct.Iter.html
index 4c30f34..63359cc 100644
--- a/main/alot/ordered/struct.Iter.html
+++ b/main/alot/ordered/struct.Iter.html
@@ -1,4 +1,4 @@
-Iter in alot::ordered - Rust pub struct Iter<'a, T> { /* private fields */ }
Expand description
An iterator over all values contained in an OrderedLots<T>
.
+Iter in alot::ordered - Rust pub struct Iter<'a, T> { /* private fields */ }
Expand description
An iterator over all values contained in an OrderedLots<T>
.
Trait Implementations§
source§impl<'a, T> Iterator for Iter<'a, T>
source§fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value. Read moresource§fn next_chunk<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
diff --git a/main/alot/ordered/struct.OrderedLots.html b/main/alot/ordered/struct.OrderedLots.html
index 2f11f5b..394781c 100644
--- a/main/alot/ordered/struct.OrderedLots.html
+++ b/main/alot/ordered/struct.OrderedLots.html
@@ -1,4 +1,4 @@
-OrderedLots in alot::ordered - Rust pub struct OrderedLots<T> { /* private fields */ }
Expand description
A collection of T
values that maintains the order of elements.
+OrderedLots in alot::ordered - Rust pub struct OrderedLots<T> { /* private fields */ }
Expand description
A collection of T
values that maintains the order of elements.
This collection can be accessed by index (usize
) or the LotId
it is
assigned upon insertion or pushing.
This collection has Vec-like performance except when removing elements by
diff --git a/main/alot/struct.LotId.html b/main/alot/struct.LotId.html
index 7fbc50e..3a9084c 100644
--- a/main/alot/struct.LotId.html
+++ b/main/alot/struct.LotId.html
@@ -1,4 +1,4 @@
-
LotId in alot - Rust pub struct LotId(/* private fields */);
Expand description
A LotId
is a single usize
, encoding generation information in the top
+
LotId in alot - Rust pub struct LotId(/* private fields */);
Expand description
A LotId
is a single usize
, encoding generation information in the top
1/4 of the bits, and index information in the remaining bits. This table
shows the breakdown for supported target platforms:
target_pointer_width
generation bits index bits
diff --git a/main/alot/unordered/index.html b/main/alot/unordered/index.html
index 53a7d8d..b9bec0d 100644
--- a/main/alot/unordered/index.html
+++ b/main/alot/unordered/index.html
@@ -1,4 +1,4 @@
-alot::unordered - Rust Expand description
An unordered collection of values, accessible by LotId
.
+alot::unordered - Rust Expand description
An unordered collection of values, accessible by LotId
.
Structs§
- An iterator over values being remoed from a
Lots<T>
. - A
DrainFilter
that drains all elements from a collection. - An iterator that removes all values from the collection and frees the
underlying collection.
- An iterator over all values contained in a
Lots<T>
. - An iterator providing exclusive access to all values contained in a
diff --git a/main/alot/unordered/struct.Drain.html b/main/alot/unordered/struct.Drain.html
index c349e35..c4edf70 100644
--- a/main/alot/unordered/struct.Drain.html
+++ b/main/alot/unordered/struct.Drain.html
@@ -1,4 +1,4 @@
-
Drain in alot::unordered - Rust pub struct Drain<'a, T, Filter>where
+Drain in alot::unordered - Rust pub struct Drain<'a, T, Filter>where
Filter: DrainFilter<T>,{ /* private fields */ }
Expand description
An iterator over values being remoed from a Lots<T>
.
Trait Implementations§
source§impl<'a, T, Filter> Drop for Drain<'a, T, Filter>where
Filter: DrainFilter<T>,
source§impl<T, Filter> Iterator for Drain<'_, T, Filter>where
diff --git a/main/alot/unordered/struct.DrainAll.html b/main/alot/unordered/struct.DrainAll.html
index e4cef06..90afc0a 100644
--- a/main/alot/unordered/struct.DrainAll.html
+++ b/main/alot/unordered/struct.DrainAll.html
@@ -1,4 +1,4 @@
-DrainAll in alot::unordered - Rust pub struct DrainAll;
Expand description
A DrainFilter
that drains all elements from a collection.
+DrainAll in alot::unordered - Rust pub struct DrainAll;
Expand description
A DrainFilter
that drains all elements from a collection.
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for DrainAll
§impl RefUnwindSafe for DrainAll
§impl Send for DrainAll
§impl Sync for DrainAll
§impl Unpin for DrainAll
§impl UnwindSafe for DrainAll
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/main/alot/unordered/struct.EntryIter.html b/main/alot/unordered/struct.EntryIter.html
index fa6589d..34b5108 100644
--- a/main/alot/unordered/struct.EntryIter.html
+++ b/main/alot/unordered/struct.EntryIter.html
@@ -1,4 +1,4 @@
-EntryIter in alot::unordered - Rust pub struct EntryIter<'a, T>(/* private fields */);
Expand description
An iterator over a Lots<T>
that returns each contained value and its
+
EntryIter in alot::unordered - Rust pub struct EntryIter<'a, T>(/* private fields */);
Expand description
Trait Implementations§
source§impl<'a, T> Iterator for EntryIter<'a, T>
source§fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value. Read moresource§fn next_chunk<const N: usize>(
&mut self,
diff --git a/main/alot/unordered/struct.IntoIter.html b/main/alot/unordered/struct.IntoIter.html
index ef08c65..68b1881 100644
--- a/main/alot/unordered/struct.IntoIter.html
+++ b/main/alot/unordered/struct.IntoIter.html
@@ -1,4 +1,4 @@
-IntoIter in alot::unordered - Rust pub struct IntoIter<T>(/* private fields */);
Expand description
An iterator that removes all values from the collection and frees the
+
IntoIter in alot::unordered - Rust pub struct IntoIter<T>(/* private fields */);
Expand description
An iterator that removes all values from the collection and frees the
underlying collection.
Trait Implementations§
source§impl<T> Iterator for IntoIter<T>
source§fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value. Read moresource§fn next_chunk<const N: usize>(
&mut self,
diff --git a/main/alot/unordered/struct.Iter.html b/main/alot/unordered/struct.Iter.html
index 955f41a..1e01c56 100644
--- a/main/alot/unordered/struct.Iter.html
+++ b/main/alot/unordered/struct.Iter.html
@@ -1,4 +1,4 @@
-Iter in alot::unordered - Rust pub struct Iter<'a, T>(/* private fields */);
Expand description
An iterator over all values contained in a Lots<T>
.
+Iter in alot::unordered - Rust pub struct Iter<'a, T>(/* private fields */);
Expand description
An iterator over all values contained in a Lots<T>
.
Trait Implementations§
source§impl<'a, T> Iterator for Iter<'a, T>
source§fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value. Read moresource§fn next_chunk<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
diff --git a/main/alot/unordered/struct.IterMut.html b/main/alot/unordered/struct.IterMut.html
index 33fbb0c..28b076a 100644
--- a/main/alot/unordered/struct.IterMut.html
+++ b/main/alot/unordered/struct.IterMut.html
@@ -1,4 +1,4 @@
-IterMut in alot::unordered - Rust pub struct IterMut<'a, T>(/* private fields */);
Expand description
An iterator providing exclusive access to all values contained in a
+
IterMut in alot::unordered - Rust pub struct IterMut<'a, T>(/* private fields */);
Expand description
An iterator providing exclusive access to all values contained in a
Lots<T>
.
Trait Implementations§
source§impl<'a, T> Iterator for IterMut<'a, T>
source§fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value. Read moresource§fn next_chunk<const N: usize>(
&mut self,
diff --git a/main/alot/unordered/struct.Lots.html b/main/alot/unordered/struct.Lots.html
index c719bc8..99819a1 100644
--- a/main/alot/unordered/struct.Lots.html
+++ b/main/alot/unordered/struct.Lots.html
@@ -1,4 +1,4 @@
-Lots in alot::unordered - Rust pub struct Lots<T> { /* private fields */ }
Expand description
A collection of T
, organized by generational LotId
s.
+Lots in alot::unordered - Rust pub struct Lots<T> { /* private fields */ }
Expand description
A collection of T
, organized by generational LotId
s.
This data type allows storing data of any type and receiving a LotId
that can later be used to look up the data.
This data type cannot hold more than 2^48 items, due how LotId
s are
diff --git a/main/alot/unordered/trait.DrainFilter.html b/main/alot/unordered/trait.DrainFilter.html
index 0442be8..a82e974 100644
--- a/main/alot/unordered/trait.DrainFilter.html
+++ b/main/alot/unordered/trait.DrainFilter.html
@@ -1,4 +1,4 @@
-
DrainFilter in alot::unordered - Rust