Skip to main content

Sealed

Trait Sealed 

Source
pub trait Sealed { }
Expand description

A non-exported trait, used to prevent others from implementing a trait.

For more information on this pattern, see the Rust API guidelines.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§