Struct multistr::Static9[][src]

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

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

Methods

impl<T: StrLike + ?Sized> Static9<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).

Important traits for Iter<'a, T>

Returns an iterator over the elements in this Static.

Trait Implementations

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

Performs the conversion.

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

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

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

The returned type after indexing.

Performs the indexing (container[index]) operation.

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

Performs the mutable indexing (container[index]) operation.

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

The returned type after indexing.

Performs the indexing (container[index]) operation.

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

The returned type after indexing.

Performs the indexing (container[index]) operation.

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

The returned type after indexing.

Performs the indexing (container[index]) operation.

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

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl<T: StrLike + ?Sized> Clone for Static9<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 Static9<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 Static9<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 Static9<T>
[src]

impl<T: StrLike + PartialOrd + ?Sized> PartialOrd for Static9<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 Static9<T>
[src]

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

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T: ?Sized> Send for Static9<T> where
    <T as StrLike>::Data: Send + Sync

impl<T: ?Sized> Sync for Static9<T> where
    <T as StrLike>::Data: Sync