Struct quantmath::core::factories::Registry[][src]

pub struct Registry<V> { /* fields omitted */ }

A registry of methods to deserialize objects given a tag to identify the type of object, using TypeId.

Methods

impl<V> Registry<V>
[src]

Creates an empty registry

Adds a creation method to the registry

Trait Implementations

impl<'r, 'de, V, S> SeedFactory<'de, TagString<'de>> for &'r Registry<S> where
    &'r S: DeserializeSeed<'de, Value = V>, 
[src]

The type of the value that will be produced by the DeserializeSeed implementation. Read more

The type of the DeserializeSeed implementation that will be returned by this factory. Read more

Returns the seed that should be used to deserialize a value tagged with the given tag. Read more

Auto Trait Implementations

impl<V> Send for Registry<V> where
    V: Send

impl<V> Sync for Registry<V> where
    V: Sync