#[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
impl<T> ErasedDestructor for Twhere
T: 'static,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes