Struct abjad::AbjadPrefs [−][src]
pub struct AbjadPrefs { pub count_shaddah: bool, pub double_alif_maddah: bool, pub ignore_lone_hamzah: bool, pub maghribi_order: bool, }
We need to allow some options for abjad calculation. At present there are
four. All are false by default. If you don’t need to activate any of them,
when calling one of the methods, you can input Default::default()
.
Fields
count_shaddah: bool
Count the shaddah diacritic? This will have the effect of doubling the value of the preceding letter.
double_alif_maddah: bool
Count alif maddah as a double alif (with value 2 instead of 1)?
ignore_lone_hamzah: bool
Ignore the pseudo-letter hamzah in its isolated state? (By default it has a value of 1.)
maghribi_order: bool
Use the Maghribi letter order? (Unless you’re sure you need this, you don’t.)
Trait Implementations
impl Default for AbjadPrefs
[src]
impl Default for AbjadPrefs
[src]fn default() -> AbjadPrefs
[src]
Auto Trait Implementations
impl RefUnwindSafe for AbjadPrefs
impl RefUnwindSafe for AbjadPrefs
impl Send for AbjadPrefs
impl Send for AbjadPrefs
impl Sync for AbjadPrefs
impl Sync for AbjadPrefs
impl Unpin for AbjadPrefs
impl Unpin for AbjadPrefs
impl UnwindSafe for AbjadPrefs
impl UnwindSafe for AbjadPrefs