Struct JoiningType

struct JoiningType(_)

Enumerated property Joining_Type.

See Section 9.2, Arabic Cursive Joining in The Unicode Standard for the summary of each property value.

Example

use icu::properties::{props::JoiningType, CodePointMapData};

assert_eq!(
    CodePointMapData::<JoiningType>::new().get('ؠ'),
    JoiningType::DualJoining
); // U+0620: Arabic Letter Kashmiri Yeh
assert_eq!(
    CodePointMapData::<JoiningType>::new().get('𐫍'),
    JoiningType::LeftJoining
); // U+10ACD: Manichaean Letter Heth

Implementations

impl JoiningType

const fn to_icu4c_value(self: Self) -> u8

Returns an ICU4C UJoiningType value.

const fn from_icu4c_value(value: u8) -> Self

Constructor from an ICU4C UJoiningType value.

impl JoiningType

impl AsULE for JoiningType

fn to_unaligned(self: Self) -> <Self as >::ULE
fn from_unaligned(unaligned: <Self as >::ULE) -> Self

impl Clone for JoiningType

fn clone(self: &Self) -> JoiningType

impl Copy for JoiningType

impl Debug for JoiningType

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl EnumeratedProperty for JoiningType

impl Eq for JoiningType

impl Freeze for JoiningType

impl Hash for JoiningType

fn hash<__H: $crate::hash::Hasher>(self: &Self, state: &mut __H)

impl NamedEnumeratedProperty for JoiningType

impl Ord for JoiningType

fn cmp(self: &Self, other: &JoiningType) -> Ordering

impl ParseableEnumeratedProperty for JoiningType

impl PartialEq for JoiningType

fn eq(self: &Self, other: &JoiningType) -> bool

impl PartialOrd for JoiningType

fn partial_cmp(self: &Self, other: &JoiningType) -> Option<Ordering>

impl RefUnwindSafe for JoiningType

impl Send for JoiningType

impl StructuralPartialEq for JoiningType

impl Sync for JoiningType

impl TrieValue for JoiningType

fn try_from_u32(i: u32) -> Result<Self, <Self as >::TryFromU32Error>
fn to_u32(self: Self) -> u32

impl Unpin for JoiningType

impl UnsafeUnpin for JoiningType

impl UnwindSafe for JoiningType

impl<T> Any for JoiningType

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for JoiningType

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for JoiningType

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for JoiningType

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> ErasedDestructor for JoiningType

impl<T> From for JoiningType

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for JoiningType

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for JoiningType

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for JoiningType

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for JoiningType

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>