Struct hecs_schedule::SubWorldRaw
source ·
[−]pub struct SubWorldRaw<A, T> { /* fields omitted */ }Expand description
Implementations
Query the subworld for a single entity. Wraps the hecs::NoSuchEntity error and provides the entity id
Get a single component from the world.
Wraps the hecs::NoSuchEntity error and provides the entity id
Get a single component from the world.
Wraps the hecs::NoSuchEntity error and provides the entity id
Reserve multiple entities concurrently
Query the full access of the subworld. Does not fail as access is guaranteed
Splits the subworld further into a compatible subworld. Fails if not compatible
Trait Implementations
impl<A: ExternalClone, T: ComponentBorrow, U: ComponentBorrow + Subset> From<&'_ SubWorldRaw<A, T>> for SubWorldRaw<A, U>
impl<A: ExternalClone, T: ComponentBorrow, U: ComponentBorrow + Subset> From<&'_ SubWorldRaw<A, T>> for SubWorldRaw<A, U>
Performs the conversion.
impl<'a, 'b, T: ComponentBorrow, U: ComponentBorrow + Subset> From<&'b SubWorldRaw<AtomicRef<'a, World>, T>> for SubWorldRef<'b, U>
impl<'a, 'b, T: ComponentBorrow, U: ComponentBorrow + Subset> From<&'b SubWorldRaw<AtomicRef<'a, World>, T>> for SubWorldRef<'b, U>
Queries the world
Queries the world for a specific entity
Get a single component for an entity Returns the contextual result since hecs-schedule is required to be imported anyway Read more
