Trait DefinesInternalPunctuation

Source
pub trait DefinesInternalPunctuation {
    const INTERNAL_PUNCTUATION: &'static Set<char> = _;

    // Provided method
    fn is_internal_punctuation(c: &char) -> bool { ... }
}
Expand description

Defines a set of punctuation that can occur within a word.

Provided Associated Constants§

Source

const INTERNAL_PUNCTUATION: &'static Set<char> = _

The set of legal punctuation characters that can occur within a word.

Provided Methods§

Source

fn is_internal_punctuation(c: &char) -> bool

Checks if a character is a legal punctuation character that can occur within a word.

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.

Implementors§