You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: streaming.rs
    path of file: ./repos/Ambient/crates/ecs/tests
    
    the code of the file until where you have to start completion: use std::sync::Arc;

use ambient_ecs::{
    components, ArchetypeFilter, Entity, EntityId, FrozenWorldDiff, Serializable, World, WorldDiff,
    WorldStream, WorldStreamFilter,
};
use itertools::Itertools;

components!("test", {
    @[Serializable]
    a: f32,
    b: f32,
    c: f32,
    no_sync: (),
});

fn init() {
    init_components();
}

#[
    
fn serialization_of_worlddiff_variants() {
    // Arrange
    init();
    let some_entity = EntityId::new();
    let diff = WorldDiff::new()
        .add_component(some_entity, a(), 5.)
        .add_component(EntityId::new(), a(), 42.)
        .set(some_entity, a(), 10.0);
    let frozen_diff: FrozenWorldDiff = diff.clone().into();

    // Act
    let serialized = bincode::serialize(&diff).unwrap();
    let frozen_serialized = bincode::serialize(&frozen_diff).unwrap();

    // Assert
    assert_eq!(serialized, frozen_serialized);
}