Function icu_properties::sets::quotation_mark

source ·
pub const fn quotation_mark() -> CodePointSetDataBorrowed<'static>
Expand description

Punctuation characters that function as quotation marks.

Enabled with the compiled_data Cargo feature.

📚 Help choosing a constructor

§Example

use icu::properties::sets;

let quotation_mark = sets::quotation_mark();

assert!(quotation_mark.contains('\''));
assert!(quotation_mark.contains('„'));  // U+201E DOUBLE LOW-9 QUOTATION MARK
assert!(!quotation_mark.contains('<'));