Trait hebrew_unicode_script::HebrewUnicodeScript

source ·
pub trait HebrewUnicodeScript {
Show 25 methods // Required methods fn is_script_hbr(&self) -> bool; fn is_script_hbr_point(&self) -> bool; fn is_script_hbr_consonant(&self) -> bool; fn is_script_hbr_ligature_yiddisch(&self) -> bool; fn is_hbr_block(&self) -> bool; fn is_hbr_accent(&self) -> bool; fn is_hbr_mark(&self) -> bool; fn is_hbr_point(&self) -> bool; fn is_hbr_point_vowel(&self) -> bool; fn is_hbr_point_semi_vowel(&self) -> bool; fn is_hbr_point_reading_sign(&self) -> bool; fn is_hbr_punctuation(&self) -> bool; fn is_hbr_consonant(&self) -> bool; fn is_hbr_consonant_normal(&self) -> bool; fn is_hbr_consonant_final(&self) -> bool; fn is_hbr_yod_triangle(&self) -> bool; fn is_hbr_ligature_yiddish(&self) -> bool; fn is_apf_block(&self) -> bool; fn is_apf_point_reading_sign(&self) -> bool; fn is_apf_consonant(&self) -> bool; fn is_apf_consonant_alternative(&self) -> bool; fn is_apf_consonant_wide(&self) -> bool; fn is_apf_consonant_with_vowel(&self) -> bool; fn is_apf_ligature_yiddisch(&self) -> bool; fn is_apf_ligature(&self) -> bool;
}
Expand description

A trait for identification and validation of Hebrew characters

For the implementation of the trait the functions descibed in de file ‘function_api.rs’ are reused

Required Methods§

source

fn is_script_hbr(&self) -> bool

Checks if the given character belongs to the unicode script ‘Hebrew’.

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('ק'.is_script_hbr());
source

fn is_script_hbr_point(&self) -> bool

Checks if the given character is a ‘point’ type within the unicode script ‘Hebrew’.

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('\u{FB1E}'.is_script_hbr_point());
source

fn is_script_hbr_consonant(&self) -> bool

Checks if the given character is a ‘consonant’ type within the unicode script ‘Hebrew’.

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('ד'.is_script_hbr_consonant());
source

fn is_script_hbr_ligature_yiddisch(&self) -> bool

Checks if the given character is a ‘ligature_yiddisch’ type within the unicode script ‘Hebrew’.

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('\u{FB1F}'.is_script_hbr_ligature_yiddisch());
source

fn is_hbr_block(&self) -> bool

Checks if the given character belongs to the unicode block ‘Hebrew’.

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('ד'.is_hbr_block());
source

fn is_hbr_accent(&self) -> bool

Checks if the given character is a Hebrew acccent.

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('\u{05AE}'.is_hbr_accent());
source

fn is_hbr_mark(&self) -> bool

Checks if the given character is a Hebrew mark.

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('\u{05C4}'.is_hbr_mark());
source

fn is_hbr_point(&self) -> bool

Checks if the given character is a Hebrew point

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('\u{05B0}'.is_hbr_point());
source

fn is_hbr_point_vowel(&self) -> bool

Checks if the given character is a Hebrew vowel

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('\u{05BB}'.is_hbr_point_vowel());
source

fn is_hbr_point_semi_vowel(&self) -> bool

Checks if the given character is a Hebrew semi-vowel

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('\u{05B0}'.is_hbr_point_semi_vowel());
source

fn is_hbr_point_reading_sign(&self) -> bool

Checks if the given character is a Hebrew reading sign

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('\u{05BC}'.is_hbr_point_reading_sign());
source

fn is_hbr_punctuation(&self) -> bool

Checks if the given character is a Hebrew punctuation.

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('\u{05F4}'.is_hbr_punctuation());
source

fn is_hbr_consonant(&self) -> bool

Checks if the given character is a Hebrew consonant.

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('ד'.is_hbr_consonant());
source

fn is_hbr_consonant_normal(&self) -> bool

Checks if the given character is a Hebrew consonant normal.

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('ד'.is_hbr_consonant_normal());
source

fn is_hbr_consonant_final(&self) -> bool

Checks if the given character is a Hebrew consonant final.

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('ף'.is_hbr_consonant_final());
source

fn is_hbr_yod_triangle(&self) -> bool

Checks if the given character is a Hebrew yod-triangle.

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('\u{05EF}'.is_hbr_yod_triangle());
source

fn is_hbr_ligature_yiddish(&self) -> bool

Checks if the given character is a Hebrew ligature yiddish.

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('\u{05F0}'.is_hbr_ligature_yiddish());
source

fn is_apf_block(&self) -> bool

Checks if the given character belongs to the unicode block ‘Alphabetic Presentation Form’.

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('\u{FB4E}'.is_apf_block());
source

fn is_apf_point_reading_sign(&self) -> bool

Checks if the given character is an apf point.

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('\u{FB1E}'.is_apf_point_reading_sign());
source

fn is_apf_consonant(&self) -> bool

Checks if the given character is an apf letter.

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('\u{FB20}'.is_apf_consonant());
source

fn is_apf_consonant_alternative(&self) -> bool

Checks if the given character is an apf an alternative letter.

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('\u{FB20}'.is_apf_consonant_alternative());
source

fn is_apf_consonant_wide(&self) -> bool

Checks if the given character is an apf wide letter.

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('\u{FB21}'.is_apf_consonant_wide());
source

fn is_apf_consonant_with_vowel(&self) -> bool

Checks if the given character is an apf letter with a vowel

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('\u{FB30}'.is_apf_consonant_with_vowel());
source

fn is_apf_ligature_yiddisch(&self) -> bool

Checks if the given character is a apf Yiddish ligature.

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('\u{FB1F}'.is_apf_ligature_yiddisch());
source

fn is_apf_ligature(&self) -> bool

Checks if the given character is a Yiddish ligature.

§Example
use hebrew_unicode_script::HebrewUnicodeScript;

assert!('\u{FB4F}'.is_apf_ligature());

Implementations on Foreign Types§

source§

impl HebrewUnicodeScript for char

Implementors§