Function hecs::serialize::row::serialize_satisfying
source · pub fn serialize_satisfying<Q: Query, C, S>(
world: &World,
context: &mut C,
serializer: S
) -> Result<S::Ok, S::Error>where
C: SerializeContext,
S: Serializer,
Available on crate feature
row-serialize
only.Expand description
Serialize all entities in a World
that satisfy the given Query
through a SerializeContext
to a Serializer