Struct soft_ascii_string::SoftAsciiChar[][src]

pub struct SoftAsciiChar(_);

a char wrapper with a "is us-ascii" soft constraint

Methods

impl SoftAsciiChar
[src]

Deprecated since 1.0.0

: use from_unchecked

impl SoftAsciiChar
[src]

Trait Implementations

impl Debug for SoftAsciiChar
[src]

Formats the value using the given formatter. Read more

impl Default for SoftAsciiChar
[src]

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

impl Copy for SoftAsciiChar
[src]

impl Clone for SoftAsciiChar
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for SoftAsciiChar
[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 SoftAsciiChar
[src]

impl PartialOrd for SoftAsciiChar
[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 Ord for SoftAsciiChar
[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 Hash for SoftAsciiChar
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Display for SoftAsciiChar
[src]

Formats the value using the given formatter. Read more

impl Into<char> for SoftAsciiChar
[src]

Performs the conversion.

impl PartialEq<char> for SoftAsciiChar
[src]

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

This method tests for !=.

impl PartialEq<SoftAsciiChar> for char
[src]

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

This method tests for !=.

impl FromIterator<SoftAsciiChar> for SoftAsciiString
[src]

Creates a value from an iterator. Read more

impl<'a> FromIterator<&'a SoftAsciiChar> for SoftAsciiString
[src]

Creates a value from an iterator. Read more

impl Extend<SoftAsciiChar> for SoftAsciiString
[src]

Extends a collection with the contents of an iterator. Read more

impl<'a> Extend<&'a SoftAsciiChar> for SoftAsciiString
[src]

Extends a collection with the contents of an iterator. Read more

Auto Trait Implementations