#![allow(unused)]
use shipyard::{track, Component};
mod add_components;
mod add_entity;
mod custom_view;
mod delete_components;
mod delete_entity;
#[cfg(feature = "serde1")]
mod entity_less_serde;
mod get;
mod hierarchy;
mod iterators;
#[cfg(feature = "thread_local")]
mod non_send_sync;
#[cfg(feature = "parallel")]
mod parallelism;
mod remove_components;
mod run;
#[cfg(feature = "serde1")]
mod serde;
mod sparse_set;
mod syntactic_peculiarities;
mod systems;
mod tracking;
mod uniques;
mod world;
#[derive(Debug)]
struct Pos(f32, f32);
impl Component for Pos {
type Tracking = track::Untracked;
}
#[derive(Debug)]
struct Vel(f32, f32);
impl Component for Vel {
type Tracking = track::Untracked;
}
impl Pos {
fn new() -> Pos {
Pos(0.0, 0.0)
}
}
impl Vel {
fn new() -> Vel {
Vel(0.0, 0.0)
}
}
#[rustfmt::skip]
#[allow(unused)]
fn component_derive() {
#[derive(Component, Debug)]
struct Pos(f32, f32);
#[derive(Component, Debug)]
struct Vel(f32, f32);
}