Struct iodyn::raz_meta::Count [] [src]

pub struct Count(pub usize);

Meta data for element count and positioning from the left

usize::max_value() is a special marker for the end of the sequence, otherwise, values too large will fail in some appropriate way.

Trait Implementations

impl Clone for Count
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Count
[src]

impl PartialEq for Count
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for Count
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Count
[src]

Formats the value using the given formatter.

impl<E> RazMeta<E> for Count
[src]

create meta data for an empty branch Read more

create meta data from a leaf vec Read more

create meta data from the pair of meta data in branches Read more

choose a branch and create an adjusted index for that branch

Panics

Panics if the index is too high