marker_api 0.5.0

Marker's API, designed for stability and usability
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::CommonSynTyData;

#[repr(C)]
#[derive(Debug)]
pub struct InferredTy<'ast> {
    data: CommonSynTyData<'ast>,
}

#[cfg(feature = "driver-api")]
impl<'ast> InferredTy<'ast> {
    pub fn new(data: CommonSynTyData<'ast>) -> Self {
        Self { data }
    }
}

super::impl_ty_data!(InferredTy<'ast>, Inferred);