Struct DataForVarULEs

struct DataForVarULEs<M: DataMarker> { ... }
where
    <M as >::DataStruct: MaybeAsVarULE + ZeroFrom<'static, <<M as >::DataStruct as MaybeAsVarULE>::EncodedStruct>

Optimized data stored as a single VarZeroSlice to reduce token count

Implementations

impl<M: DataMarker> DataForVarULEs<M>

unsafe const fn from_trie_and_values_unchecked(trie: ZeroTrieSimpleAscii<&'static [u8]>, values: &'static VarZeroSlice<<<M as >::DataStruct as MaybeAsVarULE>::EncodedStruct>) -> Self

Construct from a trie and values

Safety

The actual values contained in the trie must be valid indices into values

impl<M> Freeze for DataForVarULEs<M>

impl<M> RefUnwindSafe for DataForVarULEs<M>

impl<M> Send for DataForVarULEs<M>

impl<M> Sync for DataForVarULEs<M>

impl<M> Unpin for DataForVarULEs<M>

impl<M> UnsafeUnpin for DataForVarULEs<M>

impl<M> UnwindSafe for DataForVarULEs<M>

impl<M: DataMarker> DataStore for DataForVarULEs<M>

fn get(self: &Self, id: DataIdentifierBorrowed<'_>, attributes_prefix_match: bool) -> Option<DataPayload<M>>

impl<T> Any for DataForVarULEs<M>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for DataForVarULEs<M>

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

impl<T> BorrowMut for DataForVarULEs<M>

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

impl<T> ErasedDestructor for DataForVarULEs<M>

impl<T> From for DataForVarULEs<M>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for DataForVarULEs<M>

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 DataForVarULEs<M>

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

impl<T, U> TryInto for DataForVarULEs<M>

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