Trait GraphQLMapEntry

Source
pub trait GraphQLMapEntry {
    type Key: Eq + Hash;
    type Item;

    // Required methods
    fn new(key: Self::Key, value: Self::Item) -> Self;
    fn into_parts(self) -> (Self::Key, Self::Item);
}
Expand description

Entry for a GraphQLMap

Required Associated Types§

Required Methods§

Source

fn new(key: Self::Key, value: Self::Item) -> Self

Source

fn into_parts(self) -> (Self::Key, Self::Item)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§