pub trait CharMatchExt: Seal + Copy {
// Required methods
fn is(self, charset: Charset) -> bool;
fn is_inkl_non_ascii(self, charset: Charset) -> bool;
}Required Methods§
Sourcefn is(self, charset: Charset) -> bool
fn is(self, charset: Charset) -> bool
Returns true if the char is a char belonging to the given charset.
Sourcefn is_inkl_non_ascii(self, charset: Charset) -> bool
fn is_inkl_non_ascii(self, charset: Charset) -> bool
Returns true if the char is a char belonging to the given charset or a non-us-ascii char.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.