Type Alias veloren_common_net::synced_components::inner::IsMount
source · pub type IsMount = Is<Mount>;
Aliased Type§
struct IsMount { /* private fields */ }
Implementations
Trait Implementations§
source§impl NetSync for IsMount
impl NetSync for IsMount
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.
source§impl TryFrom<EcsCompPacket> for IsMount
impl TryFrom<EcsCompPacket> for IsMount
§impl<R> Component for Is<R>
impl<R> Component for Is<R>
§impl<'de, R> Deserialize<'de> for Is<R>where
R: Role,
<R as Role>::Link: Deserialize<'de>,
impl<'de, R> Deserialize<'de> for Is<R>where
R: Role,
<R as Role>::Link: Deserialize<'de>,
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Is<R>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Is<R>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl<R> Serialize for Is<R>where
R: Role,
<R as Role>::Link: Serialize,
impl<R> Serialize for Is<R>where
R: Role,
<R as Role>::Link: Serialize,
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more