#[sealed]
This crate provide a convinient and simple way to implement the sealed trait pattern, as described in the Rust API Guidelines [1].
toml
[dependencies]
sealed = "0.1"
```rust use sealed::sealed;
trait T {}
pub struct A;
impl T for A {}
pub struct B{ field_1: i32 }
impl T for B {}
fn main() { return } ```