Enum posix_regex::compile::Collation[][src]

pub enum Collation {
    Char(u8),
    Class(fn(_: u8) -> bool),
}

An item inside square brackets, like [abc] or [[:digit:]]

Variants

Methods

impl Collation
[src]

Compare this collation to a character

Trait Implementations

impl Clone for Collation
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Collation
[src]

Formats the value using the given formatter. Read more

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

Auto Trait Implementations

impl Send for Collation

impl Sync for Collation