pub enum SemanticDomain {
Spatial,
Render,
}
Expand description
Defines the semantic domains a component can belong to.
This is used by the [ComponentRegistry
] to map a component type to its
corresponding ComponentPage
group. This grouping is the core principle that
allows the CRPECS to have fast, domain-specific queries.
Variants§
Spatial
For components related to position, physics, and the scene graph.
Render
For components related to rendering, such as mesh and material handles.
Trait Implementations§
Source§impl Clone for SemanticDomain
impl Clone for SemanticDomain
Source§fn clone(&self) -> SemanticDomain
fn clone(&self) -> SemanticDomain
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SemanticDomain
impl Debug for SemanticDomain
Source§impl Hash for SemanticDomain
impl Hash for SemanticDomain
Source§impl PartialEq for SemanticDomain
impl PartialEq for SemanticDomain
impl Copy for SemanticDomain
impl Eq for SemanticDomain
impl StructuralPartialEq for SemanticDomain
Auto Trait Implementations§
impl Freeze for SemanticDomain
impl RefUnwindSafe for SemanticDomain
impl Send for SemanticDomain
impl Sync for SemanticDomain
impl Unpin for SemanticDomain
impl UnwindSafe for SemanticDomain
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more