bevy_ecs/identifier/
kinds.rs

1/// The kinds of ID that [`super::Identifier`] can represent. Each
2/// variant imposes different usages of the low/high segments
3/// of the ID.
4#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
5#[repr(u8)]
6pub enum IdKind {
7    /// An ID variant that is compatible with [`crate::entity::Entity`].
8    Entity = 0,
9    /// A future ID variant.
10    Placeholder = 0b1000_0000,
11}