[][src]Struct kul_core::datum::premade::DatumMutRef

pub struct DatumMutRef<'d, TT, ET>(pub &'d mut MutRefDatum<'d, TT, ET>);

The Datum-reference type that uses basic mutable borrow references. Intended to be the element of arrays used to allocate Datums for parsing when heap allocation is unavailable (or undesired).

This must not implement Drop. This wrapper allows the needed recursive type definition.

Trait Implementations

impl<TT, ET, '_> DerefTryMut for DatumMutRef<'_, TT, ET>[src]

This allows basic direct mutable borrow references to be used as the Datum reference type.

impl<'d, TT, ET> Deref for DatumMutRef<'d, TT, ET>[src]

Required by DerefTryMut.

type Target = MutRefDatum<'d, TT, ET>

The resulting type after dereferencing.

impl<'d, TT: PartialEq, ET: PartialEq> PartialEq<DatumMutRef<'d, TT, ET>> for DatumMutRef<'d, TT, ET>[src]

impl<'d, TT: Eq, ET: Eq> Eq for DatumMutRef<'d, TT, ET>[src]

impl<TT, ET, '_> DerefMut for DatumMutRef<'_, TT, ET>[src]

Not strictly required but useful.

impl<'d, TT: Debug, ET: Debug> Debug for DatumMutRef<'d, TT, ET>[src]

impl<'d, TT: Hash, ET: Hash> Hash for DatumMutRef<'d, TT, ET>[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl<'d, TT, ET> Send for DatumMutRef<'d, TT, ET> where
    ET: Send,
    TT: Send

impl<'d, TT, ET> Sync for DatumMutRef<'d, TT, ET> where
    ET: Sync,
    TT: Sync

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]