Enum posix_regex::compile::Collation [−][src]
An item inside square brackets, like [abc] or [[:digit:]]
Variants
Char(u8)Class(fn(_: u8) -> bool)
Methods
impl Collation[src]
impl Collationpub fn matches(&self, other: u8, insensitive: bool) -> bool[src]
pub fn matches(&self, other: u8, insensitive: bool) -> boolCompare this collation to a character
Trait Implementations
impl Clone for Collation[src]
impl Clone for Collationfn clone(&self) -> Collation[src]
fn clone(&self) -> CollationReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Collation[src]
impl Debug for Collationfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Collation[src]
impl PartialEq for Collationfn eq(&self, other: &Collation) -> bool[src]
fn eq(&self, other: &Collation) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Collation) -> bool[src]
fn ne(&self, other: &Collation) -> boolThis method tests for !=.
impl Eq for Collation[src]
impl Eq for Collation