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 Collation
pub fn matches(&self, other: u8, insensitive: bool) -> bool
[src]
pub fn matches(&self, other: u8, insensitive: bool) -> bool
Compare this collation to a character
Trait Implementations
impl Clone for Collation
[src]
impl Clone for Collation
fn clone(&self) -> Collation
[src]
fn clone(&self) -> Collation
Returns 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 Collation
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Collation
[src]
impl PartialEq for Collation
fn eq(&self, other: &Collation) -> bool
[src]
fn eq(&self, other: &Collation) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for Collation
[src]
impl Eq for Collation