Trait dominator::traits::AsStr[][src]

pub trait AsStr {
    fn as_str(&self) -> &str;

    fn with_str<A, F>(&self, f: F) -> A
    where
        F: FnOnce(&str) -> A
, { ... } }

Required methods

👎 Deprecated since 0.5.18:

Use with_str instead

Provided methods

Implementations on Foreign Types

👎 Deprecated since 0.5.18:

Use with_str instead

👎 Deprecated since 0.5.18:

Use with_str instead

👎 Deprecated since 0.5.18:

Use with_str instead

👎 Deprecated since 0.5.18:

Use with_str instead

Implementors