cgp-component 0.4.1-alpha

Context-generic programming core component traits
Documentation
1
2
3
4
5
6
7
8
9
10
11
#![no_std]

/*!
   This crate defines the core CGP traits, [`DelegateComponent`] and [`HasCgpProvider`].
*/

mod traits;
mod types;

pub use traits::{CanUseComponent, DelegateComponent, HasCgpProvider, IsProviderFor};
pub use types::{UseContext, UseDelegate, UseFields, WithContext, WithProvider};