pub struct DecoderEntry<'a, T, R>(/* private fields */);
Expand description
An entry in the decoder table.
This contains the metadata necessary to apply an decoder to a field.
This cannot be instantiated directly; use FieldDecode::ENTRY
to get an
instance for a particular decoder.
Implementations§
source§impl<'a, T, R> DecoderEntry<'a, T, R>
impl<'a, T, R> DecoderEntry<'a, T, R>
sourcepub const fn erase(&self) -> ErasedDecoderEntry
pub const fn erase(&self) -> ErasedDecoderEntry
Erases the type of the decoder entry.
Auto Trait Implementations§
impl<'a, T, R> Freeze for DecoderEntry<'a, T, R>
impl<'a, T, R> RefUnwindSafe for DecoderEntry<'a, T, R>
impl<'a, T, R> !Send for DecoderEntry<'a, T, R>
impl<'a, T, R> !Sync for DecoderEntry<'a, T, R>
impl<'a, T, R> Unpin for DecoderEntry<'a, T, R>
impl<'a, T, R> UnwindSafe for DecoderEntry<'a, T, R>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more