pub type IsLeader = Is<Leader>;
Aliased Type§
struct IsLeader { /* private fields */ }
Trait Implementations§
Source§impl NetSync for IsLeader
impl NetSync for IsLeader
Source§const SYNC_FROM: SyncFrom = SyncFrom::AnyEntity
const SYNC_FROM: SyncFrom = SyncFrom::AnyEntity
Determines what for entities this component is synced to the client. Read more
Source§fn pre_insert(&mut self, world: &World)
fn pre_insert(&mut self, world: &World)
Allows making modifications before the synced component is inserted on
the client.
Source§fn pre_modify(&mut self, world: &World)
fn pre_modify(&mut self, world: &World)
Allows making modifications before the synced component is overwritten
with this version on the client.