pub struct AdjacentlyTaggedEnumVariantSeed<F> {
pub enum_name: &'static str,
pub variants: &'static [&'static str],
pub fields_enum: PhantomData<F>,
}
Fields§
§enum_name: &'static str
§variants: &'static [&'static str]
§fields_enum: PhantomData<F>
Trait Implementations§
source§impl<'de, F> DeserializeSeed<'de> for AdjacentlyTaggedEnumVariantSeed<F>where
F: Deserialize<'de>,
impl<'de, F> DeserializeSeed<'de> for AdjacentlyTaggedEnumVariantSeed<F>where
F: Deserialize<'de>,
source§fn deserialize<D>(self, deserializer: D) -> Result<Self::Value, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(self, deserializer: D) -> Result<Self::Value, D::Error>where
D: Deserializer<'de>,
Equivalent to the more common
Deserialize::deserialize
method, except
with some initial piece of data (the seed) passed in.Auto Trait Implementations§
impl<F> Freeze for AdjacentlyTaggedEnumVariantSeed<F>
impl<F> RefUnwindSafe for AdjacentlyTaggedEnumVariantSeed<F>where
F: RefUnwindSafe,
impl<F> Send for AdjacentlyTaggedEnumVariantSeed<F>where
F: Send,
impl<F> Sync for AdjacentlyTaggedEnumVariantSeed<F>where
F: Sync,
impl<F> Unpin for AdjacentlyTaggedEnumVariantSeed<F>where
F: Unpin,
impl<F> UnwindSafe for AdjacentlyTaggedEnumVariantSeed<F>where
F: UnwindSafe,
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