#[non_exhaustive]pub struct GraphemeBase;
Expand description
Property used together with the definition of Standard Korean Syllable Block to define “Grapheme base”.
See D58 in Chapter 3, Conformance in the Unicode Standard.
§Example
use icu::properties::CodePointSetData;
use icu::properties::props::GraphemeBase;
let grapheme_base = CodePointSetData::new::<GraphemeBase>();
assert!(grapheme_base.contains('ക')); // U+0D15 MALAYALAM LETTER KA
assert!(grapheme_base.contains('\u{0D3F}')); // U+0D3F MALAYALAM VOWEL SIGN I
assert!(!grapheme_base.contains('\u{0D3E}')); // U+0D3E MALAYALAM VOWEL SIGN AA
Trait Implementations§
Source§impl BinaryProperty for GraphemeBase
impl BinaryProperty for GraphemeBase
Auto Trait Implementations§
impl Freeze for GraphemeBase
impl RefUnwindSafe for GraphemeBase
impl Send for GraphemeBase
impl Sync for GraphemeBase
impl Unpin for GraphemeBase
impl UnwindSafe for GraphemeBase
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more