Struct VerticalOrientation

struct VerticalOrientation(_)

Property Vertical_Orientation

See UTR #50: https://www.unicode.org/reports/tr50/#vo

Example

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

assert_eq!(
    CodePointMapData::<VerticalOrientation>::new().get('a'),
    VerticalOrientation::Rotated
);
assert_eq!(
    CodePointMapData::<VerticalOrientation>::new().get('ยง'),
    VerticalOrientation::Upright
);
assert_eq!(
    CodePointMapData::<VerticalOrientation>::new().get32(0x2329),
    VerticalOrientation::TransformedRotated
);
assert_eq!(
    CodePointMapData::<VerticalOrientation>::new().get32(0x3001),
    VerticalOrientation::TransformedUpright
);

Implementations

impl VerticalOrientation

const fn to_icu4c_value(self: Self) -> u8

Returns an ICU4C UVerticalOrientation value.

const fn from_icu4c_value(value: u8) -> Self

Constructor from an ICU4C UVerticalOrientation value.

impl VerticalOrientation

impl AsULE for VerticalOrientation

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

impl Clone for VerticalOrientation

fn clone(self: &Self) -> VerticalOrientation

impl Copy for VerticalOrientation

impl Debug for VerticalOrientation

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

impl EnumeratedProperty for VerticalOrientation

impl Eq for VerticalOrientation

impl Freeze for VerticalOrientation

impl Hash for VerticalOrientation

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

impl NamedEnumeratedProperty for VerticalOrientation

impl Ord for VerticalOrientation

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

impl ParseableEnumeratedProperty for VerticalOrientation

impl PartialEq for VerticalOrientation

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

impl PartialOrd for VerticalOrientation

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

impl RefUnwindSafe for VerticalOrientation

impl Send for VerticalOrientation

impl StructuralPartialEq for VerticalOrientation

impl Sync for VerticalOrientation

impl TrieValue for VerticalOrientation

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

impl Unpin for VerticalOrientation

impl UnsafeUnpin for VerticalOrientation

impl UnwindSafe for VerticalOrientation

impl<T> Any for VerticalOrientation

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for VerticalOrientation

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

impl<T> BorrowMut for VerticalOrientation

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

impl<T> CloneToUninit for VerticalOrientation

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

impl<T> ErasedDestructor for VerticalOrientation

impl<T> From for VerticalOrientation

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for VerticalOrientation

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

impl<T, U> Into for VerticalOrientation

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 VerticalOrientation

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

impl<T, U> TryInto for VerticalOrientation

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