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 @@ -List of all items in this crate

List of all items

Structs

Traits

\ No newline at end of file +List of all items in this crate

List of all items

Structs

Traits

\ No newline at end of file diff --git a/main/alot/index.html b/main/alot/index.html index 886aaee..7c3aeb7 100644 --- a/main/alot/index.html +++ b/main/alot/index.html @@ -1,4 +1,4 @@ -alot - Rust

Crate alot

source
Expand description

§alot

+alot - Rust

Crate alot

source
Expand description

§alot

alot forbids unsafe code alot is considered alpha crate version 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 @@ -alot::ordered - Rust

alot

Module ordered

source
Expand description

An ordered collection of values, accessible by LotId or index.

+alot::ordered - Rust
alot

Module ordered

source
Expand description

An ordered collection of values, accessible by LotId or index.

Structs§

\ No newline at end of file diff --git a/main/alot/ordered/struct.Drain.html b/main/alot/ordered/struct.Drain.html index aac415c..29ca601 100644 --- a/main/alot/ordered/struct.Drain.html +++ b/main/alot/ordered/struct.Drain.html @@ -1,4 +1,4 @@ -Drain in alot::ordered - Rust
alot::ordered

Struct Drain

source
pub struct Drain<'a, T, Filter>
where +Drain in alot::ordered - Rust
alot::ordered

Struct Drain

source
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§

fn drop(&mut self)

Executes the destructor for this type. Read more
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
alot::ordered

Struct EntryIter

source
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

alot::ordered

Struct EntryIter

source
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: Clone> Clone for EntryIter<'a, T>

source§

fn clone(&self) -> EntryIter<'a, T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'a, T> Iterator for EntryIter<'a, T>

source§

type Item = (LotId, &'a T)

The type of the elements being iterated over.
source§

fn next(&mut self) -> Option<Self::Item>

Advances the iterator and returns the next value. Read more
source§

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
alot::ordered

Struct IntoIter

source
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

alot::ordered

Struct IntoIter

source
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§

type Item = T

The type of the elements being iterated over.
source§

fn next(&mut self) -> Option<Self::Item>

Advances the iterator and returns the next value. Read more
source§

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
alot::ordered

Struct Iter

source
pub struct Iter<'a, T> { /* private fields */ }
Expand description

An iterator over all values contained in an OrderedLots<T>.

+Iter in alot::ordered - Rust
alot::ordered

Struct Iter

source
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: Clone> Clone for Iter<'a, T>

source§

fn clone(&self) -> Iter<'a, T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'a, T> Iterator for Iter<'a, T>

source§

type Item = &'a T

The type of the elements being iterated over.
source§

fn next(&mut self) -> Option<Self::Item>

Advances the iterator and returns the next value. Read more
source§

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
alot::ordered

Struct OrderedLots

source
pub struct OrderedLots<T> { /* private fields */ }
Expand description

A collection of T values that maintains the order of elements.

+OrderedLots in alot::ordered - Rust
alot::ordered

Struct OrderedLots

source
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

alot

Struct LotId

source
pub struct LotId(/* private fields */);
Expand description

A LotId is a single usize, encoding generation information in the top +LotId in alot - Rust

alot

Struct LotId

source
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:

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
alot

Module unordered

source
Expand description

An unordered collection of values, accessible by LotId.

+alot::unordered - Rust
alot

Module unordered

source
Expand description

An unordered collection of values, accessible by LotId.

Structs§

target_pointer_widthgeneration bitsindex bits