use std::{fmt, marker::PhantomData};
use bevy::prelude::SystemSet;
#[derive(PartialEq, Eq, Hash, Clone, Copy, Debug, SystemSet)]
pub struct ComputeLayout;
#[derive(PartialEq, Eq, Hash, Clone, Copy, Debug, SystemSet)]
pub struct ComputeLayoutSet;
#[derive(PartialEq, Eq, Hash, Clone, Copy, Debug, SystemSet)]
pub struct ContentSizedComputeSystemSet;
#[derive(SystemSet)]
pub struct ContentSizedComputeSystem<S>(PhantomData<fn(S)>);
impl<S> PartialEq for ContentSizedComputeSystem<S> {
fn eq(&self, _: &Self) -> bool {
true
}
}
impl<S> std::hash::Hash for ContentSizedComputeSystem<S> {
fn hash<H>(&self, _: &mut H) {}
}
impl<S> fmt::Debug for ContentSizedComputeSystem<S> {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.write_str(std::any::type_name::<Self>())
}
}
impl<S> Eq for ContentSizedComputeSystem<S> {}
impl<S> Clone for ContentSizedComputeSystem<S> {
fn clone(&self) -> Self {
*self
}
}
impl<S> Copy for ContentSizedComputeSystem<S> {}
impl<S> Default for ContentSizedComputeSystem<S> {
fn default() -> Self {
Self(PhantomData)
}
}