Function hecs::serialize::column::try_serialize[][src]

pub fn try_serialize<T, S>(
    archetype: &Archetype,
    out: &mut S
) -> Result<(), S::Error> where
    T: Component + Serialize,
    S: SerializeTuple
This is supported on crate feature column-serialize only.
Expand description

If archetype has T components, serialize them into out

Useful for implementing SerializeContext::serialize_components().