Struct EastAsianWidth
struct EastAsianWidth(_)
Enumerated property East_Asian_Width.
See "Definition" in UAX #11 for the summary of each property value: https://www.unicode.org/reports/tr11/#Definitions
Example
use ;
assert_eq!; // U+FF71: Halfwidth Katakana Letter A
assert_eq!; //U+30A2: Katakana Letter A
Implementations
impl EastAsianWidth
const fn to_icu4c_value(self: Self) -> u8Returns an ICU4C
UEastAsianWidthvalue.const fn from_icu4c_value(value: u8) -> SelfConstructor from an ICU4C
UEastAsianWidthvalue.
impl EastAsianWidth
impl AsULE for EastAsianWidth
fn to_unaligned(self: Self) -> <Self as >::ULEfn from_unaligned(unaligned: <Self as >::ULE) -> Self
impl Clone for EastAsianWidth
fn clone(self: &Self) -> EastAsianWidth
impl Copy for EastAsianWidth
impl Debug for EastAsianWidth
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl EnumeratedProperty for EastAsianWidth
impl Eq for EastAsianWidth
impl Freeze for EastAsianWidth
impl Hash for EastAsianWidth
fn hash<__H: $crate::hash::Hasher>(self: &Self, state: &mut __H)
impl NamedEnumeratedProperty for EastAsianWidth
impl Ord for EastAsianWidth
fn cmp(self: &Self, other: &EastAsianWidth) -> Ordering
impl ParseableEnumeratedProperty for EastAsianWidth
impl PartialEq for EastAsianWidth
fn eq(self: &Self, other: &EastAsianWidth) -> bool
impl PartialOrd for EastAsianWidth
fn partial_cmp(self: &Self, other: &EastAsianWidth) -> Option<Ordering>
impl RefUnwindSafe for EastAsianWidth
impl Send for EastAsianWidth
impl StructuralPartialEq for EastAsianWidth
impl Sync for EastAsianWidth
impl TrieValue for EastAsianWidth
fn try_from_u32(i: u32) -> Result<Self, <Self as >::TryFromU32Error>fn to_u32(self: Self) -> u32
impl Unpin for EastAsianWidth
impl UnsafeUnpin for EastAsianWidth
impl UnwindSafe for EastAsianWidth
impl<T> Any for EastAsianWidth
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for EastAsianWidth
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for EastAsianWidth
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for EastAsianWidth
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> ErasedDestructor for EastAsianWidth
impl<T> From for EastAsianWidth
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for EastAsianWidth
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for EastAsianWidth
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for EastAsianWidth
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for EastAsianWidth
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>