ferment-sys 0.2.14

Syntax tree morphing of FFI-compatible stuff
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use indexmap::IndexMap;
use syn::{Path, Type};

#[derive(Clone, Default)]
pub struct GenericChain {
    pub inner: IndexMap<Type, Vec<Path>>
}

impl GenericChain {
    pub fn new(chain: IndexMap<Type, Vec<Path>>) -> Self {
        Self { inner: chain }
    }
}