Trait unicode_categories::UnicodeCategories [] [src]

pub trait UnicodeCategories: Sized + Copy {
    fn is_other_control(self) -> bool;
    fn is_other_format(self) -> bool;
    fn is_other_private_use(self) -> bool;
    fn is_letter_lowercase(self) -> bool;
    fn is_letter_modifier(self) -> bool;
    fn is_letter_other(self) -> bool;
    fn is_letter_titlecase(self) -> bool;
    fn is_letter_uppercase(self) -> bool;
    fn is_mark_spacing_combining(self) -> bool;
    fn is_mark_enclosing(self) -> bool;
    fn is_mark_nonspacing(self) -> bool;
    fn is_number_decimal_digit(self) -> bool;
    fn is_number_letter(self) -> bool;
    fn is_number_other(self) -> bool;
    fn is_punctuation_connector(self) -> bool;
    fn is_punctuation_dash(self) -> bool;
    fn is_punctuation_close(self) -> bool;
    fn is_punctuation_final_quote(self) -> bool;
    fn is_punctuation_initial_quote(self) -> bool;
    fn is_punctuation_other(self) -> bool;
    fn is_punctuation_open(self) -> bool;
    fn is_symbol_currency(self) -> bool;
    fn is_symbol_modifier(self) -> bool;
    fn is_symbol_math(self) -> bool;
    fn is_symbol_other(self) -> bool;
    fn is_separator_line(self) -> bool;
    fn is_separator_paragraph(self) -> bool;
    fn is_separator_space(self) -> bool;

    fn is_other(self) -> bool { ... }
    fn is_letter(self) -> bool { ... }
    fn is_mark(self) -> bool { ... }
    fn is_number(self) -> bool { ... }
    fn is_punctuation(self) -> bool { ... }
    fn is_symbol(self) -> bool { ... }
    fn is_separator(self) -> bool { ... }
}

Required Methods

Returns true if this value is a member of the "Other, Control" (Cc) category.

Returns true if this value is a member of the "Other, Format" (Cf) category.

Returns true if this value is a member of the "Other, Private Use" (Co) category.

Returns true if this value is a member of the "Letter, Lowercase" (Ll) category.

Returns true if this value is a member of the "Letter, Modifier" (Lm) category.

Returns true if this value is a member of the "Letter, Other" (Lo) category.

Returns true if this value is a member of the "Letter, Titlecase" (Lt) category.

Returns true if this value is a member of the "Letter, Uppercase" (Lu) category.

Returns true if this value is a member of the "Mark, Spacing Combining" (Mc) category.

Returns true if this value is a member of the "Mark, Enclosing" (Me) category.

Returns true if this value is a member of the "Mark, Nonspacing" (Mn) category.

Returns true if this value is a member of the "Number, Decimal Digit" (Nd) category.

Returns true if this value is a member of the "Number, Letter" (Nl) category.

Returns true if this value is a member of the "Number, Other" (No) category.

Returns true if this value is a member of the "Punctuation, Connector" (Pc) category.

Returns true if this value is a member of the "Punctuation, Dash" (Pd) category.

Returns true if this value is a member of the "Punctuation, Close" (Pe) category.

Returns true if this value is a member of the "Punctuation, Final Quote" (Pf) category.

Returns true if this value is a member of the "Punctuation, Initial Quote" (Pi) category.

Returns true if this value is a member of the "Punctuation, Other" (Po) category.

Returns true if this value is a member of the "Punctuation, Open" (Ps) category.

Returns true if this value is a member of the "Symbol, Currency" (Sc) category.

Returns true if this value is a member of the "Symbol, Modifier" (Sk) category.

Returns true if this value is a member of the "Symbol, Math" (Sm) category.

Returns true if this value is a member of the "Symbol, Other" (So) category.

Returns true if this value is a member of the "Separator, Line" (Zl) category.

Returns true if this value is a member of the "Separator, Paragraph" (Zp) category.

Returns true if this value is a member of the "Separator, Space" (Zs) category.

Provided Methods

Returns true if this value is a member of a "Other" category: Cc, Cf, Cn, or Co. Surrogates cannot be chars in Rust, so they are not included.

Returns true if this value is a member of a "Letter" category: Lc, Ll, Lm, Lo, Lt, or Lu.

Returns true if this value is a member of a "Mark" category: Mc, Me, or Mn.

Returns true if this value is a member of a "Number" category: Nd, Nl, or No.

Returns true if this value is a member of a "Punctuation" category: Pc, Pd, Pe, Pf, Pi, Po, or Ps.

Returns true if this value is a member of a "Symbol" category: Sc, Sk, Sm, or So.

Returns true if this value is a member of a "Separator" category: Zl, Zp, or Zs.

Implementors