modsealed;usecrate::{
component,registry::Null,};usesealed::Sealed;/// A registry whose components implement [`Serialize`].
////// This is a supertrait to the `Serialize` trait. It is always implemented when all components
/// implement `Serialize`.
////// [`Serialize`]: serde::Serialize
#[cfg_attr(doc_cfg,doc(cfg(feature ="serde")))]pubtraitSerialize: Sealed {}implSerialize forNull{}impl<Component, Registry> Serialize for (Component, Registry)
where
Component:component::Component + serde::Serialize,
Registry: Serialize,
{}