use crate::__::{Sealed, Set, Unset};
#[rustversion::attr(
since(1.78.0),
diagnostic::on_unimplemented(
message = "the member `{Self}` was not set, but this method requires it to be set",
label = "the member `{Self}` was not set, but this method requires it to be set"
)
)]
pub trait IsSet: Sealed {}
#[rustversion::attr(
since(1.78.0),
diagnostic::on_unimplemented(
message = "the member `{Self}` was already set, but this method requires it to be unset",
label = "the member `{Self}` was already set, but this method requires it to be unset"
)
)]
pub trait IsUnset: Sealed {}
#[doc(hidden)]
impl<Name> IsSet for Set<Name> {}
#[doc(hidden)]
impl<Name> IsUnset for Unset<Name> {}