pub struct ArchetypeEdge {
pub add: Option<ArchetypeId>,
pub remove: Option<ArchetypeId>,
}Expand description
Cached archetype transition when a component is added or removed.
Fields§
§add: Option<ArchetypeId>Archetype reached by adding a component of this type.
remove: Option<ArchetypeId>Archetype reached by removing a component of this type.
Trait Implementations§
Source§impl Clone for ArchetypeEdge
impl Clone for ArchetypeEdge
Source§impl Debug for ArchetypeEdge
impl Debug for ArchetypeEdge
Auto Trait Implementations§
impl Freeze for ArchetypeEdge
impl RefUnwindSafe for ArchetypeEdge
impl Send for ArchetypeEdge
impl Sync for ArchetypeEdge
impl Unpin for ArchetypeEdge
impl UnsafeUnpin for ArchetypeEdge
impl UnwindSafe for ArchetypeEdge
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