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::CommonPatData;

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

super::impl_pat_data!(WildcardPat<'ast>, Wildcard);

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