Struct PropertyScriptToIcuScriptMap

struct PropertyScriptToIcuScriptMap<'data> { ... }

A mapping of property values to their names. A single instance of this map will only cover either long or short names, determined whilst loading data.

🚧 This code is considered unstable; it may change at any time, in breaking or non-breaking ways, including in SemVer minor releases. While the serde representation of data structs is guaranteed to be stable, their Rust representation might not be. Use with caution.

Fields

map: ZeroVec<'data, NichedOption<Script, 4>>

A map from the value discriminant (the index) to the names, for mostly contiguous data. Empty strings count as missing.

Implementations

impl MaybeAsVarULE for PropertyScriptToIcuScriptMap<'_>

impl<'a> Yokeable for PropertyScriptToIcuScriptMap<'static>

fn transform(self: &'a Self) -> &'a <Self as >::Output
fn transform_owned(self: Self) -> <Self as >::Output
unsafe fn make(this: <Self as >::Output) -> Self
fn transform_mut<F>(self: &'a mut Self, f: F)
where
    F: 'static + for<'b> FnOnce(&'b mut <Self as >::Output)

impl<'data> Clone for PropertyScriptToIcuScriptMap<'data>

fn clone(self: &Self) -> PropertyScriptToIcuScriptMap<'data>

impl<'data> Debug for PropertyScriptToIcuScriptMap<'data>

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

impl<'data> Freeze for PropertyScriptToIcuScriptMap<'data>

impl<'data> PartialEq for PropertyScriptToIcuScriptMap<'data>

fn eq(self: &Self, other: &PropertyScriptToIcuScriptMap<'data>) -> bool

impl<'data> RefUnwindSafe for PropertyScriptToIcuScriptMap<'data>

impl<'data> Send for PropertyScriptToIcuScriptMap<'data>

impl<'data> StructuralPartialEq for PropertyScriptToIcuScriptMap<'data>

impl<'data> Sync for PropertyScriptToIcuScriptMap<'data>

impl<'data> Unpin for PropertyScriptToIcuScriptMap<'data>

impl<'data> UnsafeUnpin for PropertyScriptToIcuScriptMap<'data>

impl<'data> UnwindSafe for PropertyScriptToIcuScriptMap<'data>

impl<'zf, 'zf_inner> ZeroFrom for PropertyScriptToIcuScriptMap<'zf>

fn zero_from(this: &'zf PropertyScriptToIcuScriptMap<'zf_inner>) -> Self

impl<T> Any for PropertyScriptToIcuScriptMap<'data>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for PropertyScriptToIcuScriptMap<'data>

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

impl<T> BorrowMut for PropertyScriptToIcuScriptMap<'data>

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

impl<T> CloneToUninit for PropertyScriptToIcuScriptMap<'data>

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

impl<T> ErasedDestructor for PropertyScriptToIcuScriptMap<'data>

impl<T> From for PropertyScriptToIcuScriptMap<'data>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for PropertyScriptToIcuScriptMap<'data>

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

impl<T, U> Into for PropertyScriptToIcuScriptMap<'data>

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 PropertyScriptToIcuScriptMap<'data>

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

impl<T, U> TryInto for PropertyScriptToIcuScriptMap<'data>

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