1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use cruster::{entity, entity_impl}; #[entity] #[derive(Clone)] struct VisibilityEntity; #[entity_impl] impl VisibilityEntity { #[private] async fn helper(&self) -> Result<(), cruster::error::ClusterError> { Ok(()) } } fn main() {}