Struct multistr::Static2 [] [src]

pub struct Static2<T: StrLike + ?Sized> { /* fields omitted */ }

Array of immutable strings stored on the heap in the same buffer.

Methods

impl<T: StrLike + ?Sized> Static2<T>
[src]

Creates a new Static from the given array of values.

Creates a Static from its raw parts: a buffer and a list of split indices.

Creates a Static from its raw parts (unsafe version).

Returns an iterator over the elements in this Static.

Trait Implementations

impl<'a, T: StrLike + ?Sized> From<[&'a T; 2]> for Static2<T>
[src]

Performs the conversion.

impl<T: StrLike + ?Sized> Default for Static2<T>
[src]

Returns the "default value" for a type. Read more

impl<T: ?Sized + StrLike> Index<usize> for Static2<T>
[src]

The returned type after indexing

The method for the indexing (container[index]) operation

impl<T: ?Sized + StrLike + StrLikeMut> IndexMut<usize> for Static2<T> where
    T::Data: IndexRangesMut,
    T::OwnedData: BorrowMut<T::Data>, 
[src]

The method for the mutable indexing (container[index]) operation

impl<T: ?Sized + DataConcat> Index<Range<usize>> for Static2<T>
[src]

The returned type after indexing

The method for the indexing (container[index]) operation

impl<T: ?Sized + DataConcat> Index<RangeFrom<usize>> for Static2<T>
[src]

The returned type after indexing

The method for the indexing (container[index]) operation

impl<T: ?Sized + DataConcat> Index<RangeTo<usize>> for Static2<T>
[src]

The returned type after indexing

The method for the indexing (container[index]) operation

impl<T: ?Sized + DataConcat> Index<RangeFull> for Static2<T>
[src]

The returned type after indexing

The method for the indexing (container[index]) operation

impl<T: StrLike + ?Sized> Clone for Static2<T> where
    Box<T::Data>: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: StrLike + ?Sized> Hash for Static2<T> where
    T::Data: Hash
[src]

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

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

impl<T: StrLike + PartialEq + ?Sized> PartialEq for Static2<T>
[src]

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

This method tests for !=.

impl<T: StrLike + Eq + ?Sized> Eq for Static2<T>
[src]

impl<T: StrLike + PartialOrd + ?Sized> PartialOrd for Static2<T>
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<T: StrLike + Ord + ?Sized> Ord for Static2<T>
[src]

This method returns an Ordering between self and other. Read more

impl<T: StrLike + Debug + ?Sized> Debug for Static2<T>
[src]

Formats the value using the given formatter.