Struct trk_io::ArraySequence[][src]

pub struct ArraySequence<T> {
    pub offsets: Vec<usize>,
    pub data: Vec<T>,
}

Fields

Methods

impl<T> ArraySequence<T>
[src]

Returns true if the array contains no elements.

The array will be considered non empty if there was one or more push(), even without an end_push(). Use len() instead to ignore all pushed elements.

Same as obj[i].len(), without building a slice

impl<T: Clone> ArraySequence<T>
[src]

Trait Implementations

impl<T: Clone> Clone for ArraySequence<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: PartialEq> PartialEq for ArraySequence<T>
[src]

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

This method tests for !=.

impl<'a, T> IntoIterator for &'a ArraySequence<T>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl<'a, T> IntoIterator for &'a mut ArraySequence<T>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl<T> Index<usize> for ArraySequence<T>
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl<T> Extend<T> for ArraySequence<T>
[src]

Extends a collection with the contents of an iterator. Read more

Auto Trait Implementations

impl<T> Send for ArraySequence<T> where
    T: Send

impl<T> Sync for ArraySequence<T> where
    T: Sync