Struct str::Str [] [src]

pub struct Str { /* fields omitted */ }

Methods

impl Str
[src]

Trait Implementations

impl Clone for Str
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Str
[src]

Formats the value using the given formatter.

impl<'a> From<&'a str> for Str
[src]

Performs the conversion.

impl From<String> for Str
[src]

Performs the conversion.

impl<'a> From<&'a [char]> for Str
[src]

Performs the conversion.

impl<'a> From<&'a mut [char]> for Str
[src]

Performs the conversion.

impl Into<String> for Str
[src]

Performs the conversion.

impl Default for Str
[src]

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

impl IntoIterator for Str
[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 AsRef<Str> for Str
[src]

Performs the conversion.

impl AsMut<Str> for Str
[src]

Performs the conversion.

impl AsRef<[char]> for Str
[src]

Performs the conversion.

impl AsMut<[char]> for Str
[src]

Performs the conversion.

impl Add for Str
[src]

The resulting type after applying the + operator

The method for the + operator

impl AddAssign for Str
[src]

The method for the += operator

impl PartialEq for Str
[src]

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

This method tests for !=.

impl PartialOrd for Str
[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 Index<usize> for Str
[src]

The returned type after indexing

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

impl Index<RangeFrom<usize>> for Str
[src]

The returned type after indexing

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

impl Index<RangeTo<usize>> for Str
[src]

The returned type after indexing

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

impl Index<RangeFull> for Str
[src]

The returned type after indexing

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

impl IndexMut<usize> for Str
[src]

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

impl IndexMut<RangeFrom<usize>> for Str
[src]

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

impl IndexMut<RangeTo<usize>> for Str
[src]

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

impl IndexMut<RangeFull> for Str
[src]

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