Module konst::string[][src]

Expand description

const fn equivalents of str methods.

Functions

Compares two Option<&'a str>, returning the ordering of left relative to right.

A const equivalent of str::cmp.

Compares two Option<&'a str> for equality.

A const equivalent of &str equality comparison.

A const equivalent of str::contains , taking a &str parameter, searching in &left[from..].

A const equivalent of str::ends_with , taking a &str parameter.

A const equivalent of str::find , taking a &str parameter, searching in &left[from..].

A const equivalent of str::contains , taking a &str parameter, searching in &left[..=from] from the end.

A const equivalent of str::rfind , taking a &str parameter, searching in &left[..=from].

A const equivalent of str::starts_with , taking a &str parameter.