cgp-handler 0.8.0-alpha

A language extension for Rust, with pluggable trait implementations at compile-time.
Documentation
1
2
3
4
5
6
use core::marker::PhantomData;

#[allow(non_upper_case_globals)]
pub const NoCode: PhantomData<()> = PhantomData;

pub struct UseInputDelegate<Components>(pub PhantomData<Components>);