Enum twine::Twine [] [src]

pub enum Twine {
    String(String),
    Static(&'static str),
}

Variants

Methods

impl Twine
[src]

Trait Implementations

impl Clone for Twine
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for Twine
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Debug for Twine
[src]

Formats the value using the given formatter.

impl PartialEq for Twine
[src]

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

This method tests for !=.

impl PartialEq<str> for Twine
[src]

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

This method tests for !=.

impl<'a> PartialEq<&'a str> for Twine
[src]

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

This method tests for !=.

impl PartialEq<String> for Twine
[src]

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

This method tests for !=.

impl Eq for Twine
[src]

impl Display for Twine
[src]

Formats the value using the given formatter.

impl Into<String> for Twine
[src]

Performs the conversion.

impl Into<Result<&'static str, Twine>> for Twine
[src]

Performs the conversion.

impl From<String> for Twine
[src]

Performs the conversion.

impl From<&'static str> for Twine
[src]

Performs the conversion.

impl AsRef<str> for Twine
[src]

Performs the conversion.