sealed 0.6.0

Macro for sealing traits and structures
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use sealed::sealed;

#[sealed]
pub trait r#Pub<V> {}

#[sealed]
impl<T> r#Pub<Option<T>> for T {}

#[sealed]
impl<T> r#Pub<Option<T>> for Option<T> {}

fn main() {}