Enum SentenceBreak
enum SentenceBreak
Represents the Unicode character
Sentence_Break
property.
References
Variants
-
CR U+000D CARRIAGE RETURN (CR)-
LF U+000A LINE FEED (LF)-
Extend Grapheme_Extend = Yes, or U+200D ZERO WIDTH JOINER (ZWJ), or General_Category = Spacing_Mark-
Sep U+0085 NEXT LINE (NEL) U+2028 LINE SEPARATOR U+2029 PARAGRAPH SEPARATOR-
Format General_Category = Format and not U+200C ZERO WIDTH NON-JOINER (ZWNJ) and not U+200D ZERO WIDTH JOINER (ZWJ)-
Sp White_Space = Yes and Sentence_Break ≠ Sep and Sentence_Break ≠ CR and Sentence_Break ≠ LF-
Lower Lowercase = Yes and Grapheme_Extend = No-
Upper General_Category = Titlecase_Letter, or Uppercase = Yes-
OLetter Alphabetic = Yes, or U+00A0 NO-BREAK SPACE (NBSP), or U+05F3 ( ׳ ) HEBREW PUNCTUATION GERESH and Lower = No and Upper = No and Sentence_Break ≠ Extend-
Numeric Line_Break = Numeric-
ATerm U+002E ( . ) FULL STOP U+2024 ( ․ ) ONE DOT LEADER U+FE52 ( ﹒ ) SMALL FULL STOP U+FF0E ( . ) FULLWIDTH FULL STOP-
SContinue U+002C ( , ) COMMA U+002D ( - ) HYPHEN-MINUS U+003A ( : ) COLON U+055D ( ՝ ) ARMENIAN COMMA U+060C ( ، ) ARABIC COMMA U+060D ( ؍ ) ARABIC DATE SEPARATOR U+07F8 ( ߸ ) NKO COMMA U+1802 ( ᠂ ) MONGOLIAN COMMA U+1808 ( ᠈ ) MONGOLIAN MANCHU COMMA U+2013 ( – ) EN DASH U+2014 ( — ) EM DASH U+3001 ( 、 ) IDEOGRAPHIC COMMA U+FE10 ( ︐ ) PRESENTATION FORM FOR VERTICAL COMMA U+FE11 ( ︑ ) PRESENTATION FORM FOR VERTICAL IDEOGRAPHIC COMMA U+FE13 ( ︓ ) PRESENTATION FORM FOR VERTICAL COLON U+FE31 ( ︱ ) PRESENTATION FORM FOR VERTICAL EM DASH U+FE32 ( ︲ ) PRESENTATION FORM FOR VERTICAL EN DASH U+FE50 ( ﹐ ) SMALL COMMA U+FE51 ( ﹑ ) SMALL IDEOGRAPHIC COMMA U+FE55 ( ﹕ ) SMALL COLON U+FE58 ( ﹘ ) SMALL EM DASH U+FE63 ( ﹣ ) SMALL HYPHEN-MINUS U+FF0C ( , ) FULLWIDTH COMMA U+FF0D ( - ) FULLWIDTH HYPHEN-MINUS U+FF1A ( : ) FULLWIDTH COLON U+FF64 ( 、 ) HALFWIDTH IDEOGRAPHIC COMMA-
STerm Sentence_Terminal = Yes-
Close General_Category = Open_Punctuation, or General_Category = Close_Punctuation, or Line_Break = Quotation and not U+05F3 ( ׳ ) HEBREW PUNCTUATION GERESH and ATerm = No and STerm = No-
Other All other characters
Implementations
impl SentenceBreak
fn of(ch: char) -> SentenceBreakFind the character
Sentence_Breakproperty value.
impl CharProperty for SentenceBreak
fn prop_abbr_name() -> &'static strfn prop_long_name() -> &'static strfn prop_human_name() -> &'static str
impl Clone for SentenceBreak
fn clone(self: &Self) -> SentenceBreak
impl Copy for SentenceBreak
impl Debug for SentenceBreak
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Default for SentenceBreak
fn default() -> Self
impl Display for SentenceBreak
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl EnumeratedCharProperty for SentenceBreak
fn all_values() -> &'static [SentenceBreak]fn abbr_name(self: &Self) -> &'static strfn long_name(self: &Self) -> &'static strfn human_name(self: &Self) -> &'static str
impl Eq for SentenceBreak
impl Freeze for SentenceBreak
impl FromStr for SentenceBreak
fn from_str(s: &str) -> Result<Self, <Self as >::Err>
impl Hash for SentenceBreak
fn hash<__H: $crate::hash::Hasher>(self: &Self, state: &mut __H)
impl PartialEq for SentenceBreak
fn eq(self: &Self, other: &SentenceBreak) -> bool
impl RefUnwindSafe for SentenceBreak
impl Send for SentenceBreak
impl StructuralPartialEq for SentenceBreak
impl Sync for SentenceBreak
impl TotalCharProperty for SentenceBreak
fn of(ch: char) -> Self
impl Unpin for SentenceBreak
impl UnsafeUnpin for SentenceBreak
impl UnwindSafe for SentenceBreak
impl<T> Any for SentenceBreak
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for SentenceBreak
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for SentenceBreak
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for SentenceBreak
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for SentenceBreak
fn from(t: T) -> TReturns the argument unchanged.
impl<T> PartialCharProperty for SentenceBreak
fn of(ch: char) -> Option<T>
impl<T, U> Into for SentenceBreak
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for SentenceBreak
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for SentenceBreak
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>