Enum veloren_common_net::msg::ecs_packet::EcsCompPhantom
source · pub enum EcsCompPhantom {
Show 40 variants
Body(PhantomData<Body>),
Hardcore(PhantomData<Hardcore>),
Stats(PhantomData<Stats>),
Buffs(PhantomData<Buffs>),
Auras(PhantomData<Auras>),
Energy(PhantomData<Energy>),
Health(PhantomData<Health>),
Heads(PhantomData<Heads>),
Poise(PhantomData<Poise>),
LightEmitter(PhantomData<LightEmitter>),
LootOwner(PhantomData<LootOwner>),
PickupItem(PhantomData<PickupItem>),
Scale(PhantomData<Scale>),
Group(PhantomData<Group>),
IsMount(PhantomData<IsMount>),
IsRider(PhantomData<IsRider>),
IsVolumeRider(PhantomData<IsVolumeRider>),
IsLeader(PhantomData<IsLeader>),
IsFollower(PhantomData<IsFollower>),
Mass(PhantomData<Mass>),
Density(PhantomData<Density>),
Collider(PhantomData<Collider>),
Sticky(PhantomData<Sticky>),
Immovable(PhantomData<Immovable>),
CharacterState(PhantomData<CharacterState>),
CharacterActivity(PhantomData<CharacterActivity>),
Shockwave(PhantomData<Shockwave>),
Beam(PhantomData<Beam>),
Alignment(PhantomData<Alignment>),
Stance(PhantomData<Stance>),
Inventory(PhantomData<Inventory>),
SkillSet(PhantomData<SkillSet>),
Admin(PhantomData<Admin>),
Combo(PhantomData<Combo>),
ActiveAbilities(PhantomData<ActiveAbilities>),
CanBuild(PhantomData<CanBuild>),
Object(PhantomData<Object>),
Pos(PhantomData<Pos>),
Vel(PhantomData<Vel>),
Ori(PhantomData<Ori>),
}
Variants§
Body(PhantomData<Body>)
Hardcore(PhantomData<Hardcore>)
Stats(PhantomData<Stats>)
Buffs(PhantomData<Buffs>)
Auras(PhantomData<Auras>)
Energy(PhantomData<Energy>)
Health(PhantomData<Health>)
Heads(PhantomData<Heads>)
Poise(PhantomData<Poise>)
LightEmitter(PhantomData<LightEmitter>)
LootOwner(PhantomData<LootOwner>)
PickupItem(PhantomData<PickupItem>)
Scale(PhantomData<Scale>)
Group(PhantomData<Group>)
IsMount(PhantomData<IsMount>)
IsRider(PhantomData<IsRider>)
IsVolumeRider(PhantomData<IsVolumeRider>)
IsLeader(PhantomData<IsLeader>)
IsFollower(PhantomData<IsFollower>)
Mass(PhantomData<Mass>)
Density(PhantomData<Density>)
Collider(PhantomData<Collider>)
Sticky(PhantomData<Sticky>)
Immovable(PhantomData<Immovable>)
CharacterState(PhantomData<CharacterState>)
CharacterActivity(PhantomData<CharacterActivity>)
Shockwave(PhantomData<Shockwave>)
Beam(PhantomData<Beam>)
Alignment(PhantomData<Alignment>)
Stance(PhantomData<Stance>)
Inventory(PhantomData<Inventory>)
SkillSet(PhantomData<SkillSet>)
Admin(PhantomData<Admin>)
Combo(PhantomData<Combo>)
ActiveAbilities(PhantomData<ActiveAbilities>)
CanBuild(PhantomData<CanBuild>)
Object(PhantomData<Object>)
Pos(PhantomData<Pos>)
Vel(PhantomData<Vel>)
Ori(PhantomData<Ori>)
Trait Implementations§
source§impl Clone for EcsCompPhantom
impl Clone for EcsCompPhantom
source§fn clone(&self) -> EcsCompPhantom
fn clone(&self) -> EcsCompPhantom
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EcsCompPhantom
impl Debug for EcsCompPhantom
source§impl<'de> Deserialize<'de> for EcsCompPhantom
impl<'de> Deserialize<'de> for EcsCompPhantom
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<PhantomData<ActiveAbilities>> for EcsCompPhantom
impl From<PhantomData<ActiveAbilities>> for EcsCompPhantom
source§fn from(other: PhantomData<ActiveAbilities>) -> EcsCompPhantom
fn from(other: PhantomData<ActiveAbilities>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Admin>> for EcsCompPhantom
impl From<PhantomData<Admin>> for EcsCompPhantom
source§fn from(other: PhantomData<Admin>) -> EcsCompPhantom
fn from(other: PhantomData<Admin>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Alignment>> for EcsCompPhantom
impl From<PhantomData<Alignment>> for EcsCompPhantom
source§fn from(other: PhantomData<Alignment>) -> EcsCompPhantom
fn from(other: PhantomData<Alignment>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Auras>> for EcsCompPhantom
impl From<PhantomData<Auras>> for EcsCompPhantom
source§fn from(other: PhantomData<Auras>) -> EcsCompPhantom
fn from(other: PhantomData<Auras>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Beam>> for EcsCompPhantom
impl From<PhantomData<Beam>> for EcsCompPhantom
source§fn from(other: PhantomData<Beam>) -> EcsCompPhantom
fn from(other: PhantomData<Beam>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Body>> for EcsCompPhantom
impl From<PhantomData<Body>> for EcsCompPhantom
source§fn from(other: PhantomData<Body>) -> EcsCompPhantom
fn from(other: PhantomData<Body>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Buffs>> for EcsCompPhantom
impl From<PhantomData<Buffs>> for EcsCompPhantom
source§fn from(other: PhantomData<Buffs>) -> EcsCompPhantom
fn from(other: PhantomData<Buffs>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<CanBuild>> for EcsCompPhantom
impl From<PhantomData<CanBuild>> for EcsCompPhantom
source§fn from(other: PhantomData<CanBuild>) -> EcsCompPhantom
fn from(other: PhantomData<CanBuild>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<CharacterActivity>> for EcsCompPhantom
impl From<PhantomData<CharacterActivity>> for EcsCompPhantom
source§fn from(other: PhantomData<CharacterActivity>) -> EcsCompPhantom
fn from(other: PhantomData<CharacterActivity>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<CharacterState>> for EcsCompPhantom
impl From<PhantomData<CharacterState>> for EcsCompPhantom
source§fn from(other: PhantomData<CharacterState>) -> EcsCompPhantom
fn from(other: PhantomData<CharacterState>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Collider>> for EcsCompPhantom
impl From<PhantomData<Collider>> for EcsCompPhantom
source§fn from(other: PhantomData<Collider>) -> EcsCompPhantom
fn from(other: PhantomData<Collider>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Combo>> for EcsCompPhantom
impl From<PhantomData<Combo>> for EcsCompPhantom
source§fn from(other: PhantomData<Combo>) -> EcsCompPhantom
fn from(other: PhantomData<Combo>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Density>> for EcsCompPhantom
impl From<PhantomData<Density>> for EcsCompPhantom
source§fn from(other: PhantomData<Density>) -> EcsCompPhantom
fn from(other: PhantomData<Density>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Energy>> for EcsCompPhantom
impl From<PhantomData<Energy>> for EcsCompPhantom
source§fn from(other: PhantomData<Energy>) -> EcsCompPhantom
fn from(other: PhantomData<Energy>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Group>> for EcsCompPhantom
impl From<PhantomData<Group>> for EcsCompPhantom
source§fn from(other: PhantomData<Group>) -> EcsCompPhantom
fn from(other: PhantomData<Group>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Hardcore>> for EcsCompPhantom
impl From<PhantomData<Hardcore>> for EcsCompPhantom
source§fn from(other: PhantomData<Hardcore>) -> EcsCompPhantom
fn from(other: PhantomData<Hardcore>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Heads>> for EcsCompPhantom
impl From<PhantomData<Heads>> for EcsCompPhantom
source§fn from(other: PhantomData<Heads>) -> EcsCompPhantom
fn from(other: PhantomData<Heads>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Health>> for EcsCompPhantom
impl From<PhantomData<Health>> for EcsCompPhantom
source§fn from(other: PhantomData<Health>) -> EcsCompPhantom
fn from(other: PhantomData<Health>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Immovable>> for EcsCompPhantom
impl From<PhantomData<Immovable>> for EcsCompPhantom
source§fn from(other: PhantomData<Immovable>) -> EcsCompPhantom
fn from(other: PhantomData<Immovable>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Inventory>> for EcsCompPhantom
impl From<PhantomData<Inventory>> for EcsCompPhantom
source§fn from(other: PhantomData<Inventory>) -> EcsCompPhantom
fn from(other: PhantomData<Inventory>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Is<Follower>>> for EcsCompPhantom
impl From<PhantomData<Is<Follower>>> for EcsCompPhantom
source§fn from(other: PhantomData<IsFollower>) -> EcsCompPhantom
fn from(other: PhantomData<IsFollower>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Is<Leader>>> for EcsCompPhantom
impl From<PhantomData<Is<Leader>>> for EcsCompPhantom
source§fn from(other: PhantomData<IsLeader>) -> EcsCompPhantom
fn from(other: PhantomData<IsLeader>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Is<Mount>>> for EcsCompPhantom
impl From<PhantomData<Is<Mount>>> for EcsCompPhantom
source§fn from(other: PhantomData<IsMount>) -> EcsCompPhantom
fn from(other: PhantomData<IsMount>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Is<Rider>>> for EcsCompPhantom
impl From<PhantomData<Is<Rider>>> for EcsCompPhantom
source§fn from(other: PhantomData<IsRider>) -> EcsCompPhantom
fn from(other: PhantomData<IsRider>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Is<VolumeRider>>> for EcsCompPhantom
impl From<PhantomData<Is<VolumeRider>>> for EcsCompPhantom
source§fn from(other: PhantomData<IsVolumeRider>) -> EcsCompPhantom
fn from(other: PhantomData<IsVolumeRider>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<LightEmitter>> for EcsCompPhantom
impl From<PhantomData<LightEmitter>> for EcsCompPhantom
source§fn from(other: PhantomData<LightEmitter>) -> EcsCompPhantom
fn from(other: PhantomData<LightEmitter>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<LootOwner>> for EcsCompPhantom
impl From<PhantomData<LootOwner>> for EcsCompPhantom
source§fn from(other: PhantomData<LootOwner>) -> EcsCompPhantom
fn from(other: PhantomData<LootOwner>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Mass>> for EcsCompPhantom
impl From<PhantomData<Mass>> for EcsCompPhantom
source§fn from(other: PhantomData<Mass>) -> EcsCompPhantom
fn from(other: PhantomData<Mass>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Object>> for EcsCompPhantom
impl From<PhantomData<Object>> for EcsCompPhantom
source§fn from(other: PhantomData<Object>) -> EcsCompPhantom
fn from(other: PhantomData<Object>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Ori>> for EcsCompPhantom
impl From<PhantomData<Ori>> for EcsCompPhantom
source§fn from(other: PhantomData<Ori>) -> EcsCompPhantom
fn from(other: PhantomData<Ori>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<PickupItem>> for EcsCompPhantom
impl From<PhantomData<PickupItem>> for EcsCompPhantom
source§fn from(other: PhantomData<PickupItem>) -> EcsCompPhantom
fn from(other: PhantomData<PickupItem>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Poise>> for EcsCompPhantom
impl From<PhantomData<Poise>> for EcsCompPhantom
source§fn from(other: PhantomData<Poise>) -> EcsCompPhantom
fn from(other: PhantomData<Poise>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Pos>> for EcsCompPhantom
impl From<PhantomData<Pos>> for EcsCompPhantom
source§fn from(other: PhantomData<Pos>) -> EcsCompPhantom
fn from(other: PhantomData<Pos>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Scale>> for EcsCompPhantom
impl From<PhantomData<Scale>> for EcsCompPhantom
source§fn from(other: PhantomData<Scale>) -> EcsCompPhantom
fn from(other: PhantomData<Scale>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Shockwave>> for EcsCompPhantom
impl From<PhantomData<Shockwave>> for EcsCompPhantom
source§fn from(other: PhantomData<Shockwave>) -> EcsCompPhantom
fn from(other: PhantomData<Shockwave>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<SkillSet>> for EcsCompPhantom
impl From<PhantomData<SkillSet>> for EcsCompPhantom
source§fn from(other: PhantomData<SkillSet>) -> EcsCompPhantom
fn from(other: PhantomData<SkillSet>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Stance>> for EcsCompPhantom
impl From<PhantomData<Stance>> for EcsCompPhantom
source§fn from(other: PhantomData<Stance>) -> EcsCompPhantom
fn from(other: PhantomData<Stance>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Stats>> for EcsCompPhantom
impl From<PhantomData<Stats>> for EcsCompPhantom
source§fn from(other: PhantomData<Stats>) -> EcsCompPhantom
fn from(other: PhantomData<Stats>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Sticky>> for EcsCompPhantom
impl From<PhantomData<Sticky>> for EcsCompPhantom
source§fn from(other: PhantomData<Sticky>) -> EcsCompPhantom
fn from(other: PhantomData<Sticky>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl From<PhantomData<Vel>> for EcsCompPhantom
impl From<PhantomData<Vel>> for EcsCompPhantom
source§fn from(other: PhantomData<Vel>) -> EcsCompPhantom
fn from(other: PhantomData<Vel>) -> EcsCompPhantom
Converts to this type from the input type.
source§impl Serialize for EcsCompPhantom
impl Serialize for EcsCompPhantom
source§impl SumType for EcsCompPhantom
impl SumType for EcsCompPhantom
source§fn downcast_ref<T: Any>(&self) -> Option<&T>
fn downcast_ref<T: Any>(&self) -> Option<&T>
Try to get a reference to the inner field if it is a
T
.source§fn downcast_mut<T: Any>(&mut self) -> Option<&mut T>
fn downcast_mut<T: Any>(&mut self) -> Option<&mut T>
Return a mutable reference to the inner field if it is a
T
.source§fn variant_is<T: Any>(&self) -> bool
fn variant_is<T: Any>(&self) -> bool
Is the underlying variant an instance of
T
?source§impl TryFrom<EcsCompPhantom> for PhantomData<ActiveAbilities>
impl TryFrom<EcsCompPhantom> for PhantomData<ActiveAbilities>
source§fn try_from(
other: EcsCompPhantom,
) -> Result<PhantomData<ActiveAbilities>, Self::Error>
fn try_from( other: EcsCompPhantom, ) -> Result<PhantomData<ActiveAbilities>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Admin>
impl TryFrom<EcsCompPhantom> for PhantomData<Admin>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Admin>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Admin>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Alignment>
impl TryFrom<EcsCompPhantom> for PhantomData<Alignment>
source§fn try_from(
other: EcsCompPhantom,
) -> Result<PhantomData<Alignment>, Self::Error>
fn try_from( other: EcsCompPhantom, ) -> Result<PhantomData<Alignment>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Auras>
impl TryFrom<EcsCompPhantom> for PhantomData<Auras>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Auras>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Auras>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Beam>
impl TryFrom<EcsCompPhantom> for PhantomData<Beam>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Beam>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Beam>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Body>
impl TryFrom<EcsCompPhantom> for PhantomData<Body>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Body>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Body>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Buffs>
impl TryFrom<EcsCompPhantom> for PhantomData<Buffs>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Buffs>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Buffs>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<CanBuild>
impl TryFrom<EcsCompPhantom> for PhantomData<CanBuild>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<CanBuild>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<CanBuild>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<CharacterActivity>
impl TryFrom<EcsCompPhantom> for PhantomData<CharacterActivity>
source§fn try_from(
other: EcsCompPhantom,
) -> Result<PhantomData<CharacterActivity>, Self::Error>
fn try_from( other: EcsCompPhantom, ) -> Result<PhantomData<CharacterActivity>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<CharacterState>
impl TryFrom<EcsCompPhantom> for PhantomData<CharacterState>
source§fn try_from(
other: EcsCompPhantom,
) -> Result<PhantomData<CharacterState>, Self::Error>
fn try_from( other: EcsCompPhantom, ) -> Result<PhantomData<CharacterState>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Collider>
impl TryFrom<EcsCompPhantom> for PhantomData<Collider>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Collider>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Collider>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Combo>
impl TryFrom<EcsCompPhantom> for PhantomData<Combo>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Combo>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Combo>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Density>
impl TryFrom<EcsCompPhantom> for PhantomData<Density>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Density>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Density>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Energy>
impl TryFrom<EcsCompPhantom> for PhantomData<Energy>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Energy>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Energy>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Group>
impl TryFrom<EcsCompPhantom> for PhantomData<Group>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Group>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Group>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Hardcore>
impl TryFrom<EcsCompPhantom> for PhantomData<Hardcore>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Hardcore>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Hardcore>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Heads>
impl TryFrom<EcsCompPhantom> for PhantomData<Heads>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Heads>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Heads>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Health>
impl TryFrom<EcsCompPhantom> for PhantomData<Health>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Health>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Health>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Immovable>
impl TryFrom<EcsCompPhantom> for PhantomData<Immovable>
source§fn try_from(
other: EcsCompPhantom,
) -> Result<PhantomData<Immovable>, Self::Error>
fn try_from( other: EcsCompPhantom, ) -> Result<PhantomData<Immovable>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Inventory>
impl TryFrom<EcsCompPhantom> for PhantomData<Inventory>
source§fn try_from(
other: EcsCompPhantom,
) -> Result<PhantomData<Inventory>, Self::Error>
fn try_from( other: EcsCompPhantom, ) -> Result<PhantomData<Inventory>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<IsFollower>
impl TryFrom<EcsCompPhantom> for PhantomData<IsFollower>
source§fn try_from(
other: EcsCompPhantom,
) -> Result<PhantomData<IsFollower>, Self::Error>
fn try_from( other: EcsCompPhantom, ) -> Result<PhantomData<IsFollower>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<IsLeader>
impl TryFrom<EcsCompPhantom> for PhantomData<IsLeader>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<IsLeader>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<IsLeader>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<IsMount>
impl TryFrom<EcsCompPhantom> for PhantomData<IsMount>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<IsMount>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<IsMount>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<IsRider>
impl TryFrom<EcsCompPhantom> for PhantomData<IsRider>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<IsRider>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<IsRider>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<IsVolumeRider>
impl TryFrom<EcsCompPhantom> for PhantomData<IsVolumeRider>
source§fn try_from(
other: EcsCompPhantom,
) -> Result<PhantomData<IsVolumeRider>, Self::Error>
fn try_from( other: EcsCompPhantom, ) -> Result<PhantomData<IsVolumeRider>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<LightEmitter>
impl TryFrom<EcsCompPhantom> for PhantomData<LightEmitter>
source§fn try_from(
other: EcsCompPhantom,
) -> Result<PhantomData<LightEmitter>, Self::Error>
fn try_from( other: EcsCompPhantom, ) -> Result<PhantomData<LightEmitter>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<LootOwner>
impl TryFrom<EcsCompPhantom> for PhantomData<LootOwner>
source§fn try_from(
other: EcsCompPhantom,
) -> Result<PhantomData<LootOwner>, Self::Error>
fn try_from( other: EcsCompPhantom, ) -> Result<PhantomData<LootOwner>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Mass>
impl TryFrom<EcsCompPhantom> for PhantomData<Mass>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Mass>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Mass>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Object>
impl TryFrom<EcsCompPhantom> for PhantomData<Object>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Object>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Object>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Ori>
impl TryFrom<EcsCompPhantom> for PhantomData<Ori>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Ori>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Ori>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<PickupItem>
impl TryFrom<EcsCompPhantom> for PhantomData<PickupItem>
source§fn try_from(
other: EcsCompPhantom,
) -> Result<PhantomData<PickupItem>, Self::Error>
fn try_from( other: EcsCompPhantom, ) -> Result<PhantomData<PickupItem>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Poise>
impl TryFrom<EcsCompPhantom> for PhantomData<Poise>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Poise>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Poise>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Pos>
impl TryFrom<EcsCompPhantom> for PhantomData<Pos>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Pos>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Pos>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Scale>
impl TryFrom<EcsCompPhantom> for PhantomData<Scale>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Scale>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Scale>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Shockwave>
impl TryFrom<EcsCompPhantom> for PhantomData<Shockwave>
source§fn try_from(
other: EcsCompPhantom,
) -> Result<PhantomData<Shockwave>, Self::Error>
fn try_from( other: EcsCompPhantom, ) -> Result<PhantomData<Shockwave>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<SkillSet>
impl TryFrom<EcsCompPhantom> for PhantomData<SkillSet>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<SkillSet>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<SkillSet>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Stance>
impl TryFrom<EcsCompPhantom> for PhantomData<Stance>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Stance>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Stance>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Stats>
impl TryFrom<EcsCompPhantom> for PhantomData<Stats>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Stats>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Stats>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Sticky>
impl TryFrom<EcsCompPhantom> for PhantomData<Sticky>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Sticky>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Sticky>, Self::Error>
Performs the conversion.
source§impl TryFrom<EcsCompPhantom> for PhantomData<Vel>
impl TryFrom<EcsCompPhantom> for PhantomData<Vel>
source§fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Vel>, Self::Error>
fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Vel>, Self::Error>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for EcsCompPhantom
impl RefUnwindSafe for EcsCompPhantom
impl Send for EcsCompPhantom
impl Sync for EcsCompPhantom
impl Unpin for EcsCompPhantom
impl UnwindSafe for EcsCompPhantom
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<C, M> ConvertSaveload<M> for C
impl<C, M> ConvertSaveload<M> for C
§type Error = Infallible
type Error = Infallible
Error may occur during serialization or deserialization of component
§fn convert_into<F>(
&self,
_: F,
) -> Result<<C as ConvertSaveload<M>>::Data, <C as ConvertSaveload<M>>::Error>
fn convert_into<F>( &self, _: F, ) -> Result<<C as ConvertSaveload<M>>::Data, <C as ConvertSaveload<M>>::Error>
Convert this data type into serializable form (
Data
) using
entity to marker mapping function§fn convert_from<F>(
data: <C as ConvertSaveload<M>>::Data,
_: F,
) -> Result<C, <C as ConvertSaveload<M>>::Error>
fn convert_from<F>( data: <C as ConvertSaveload<M>>::Data, _: F, ) -> Result<C, <C as ConvertSaveload<M>>::Error>
Convert this data from a deserializable form (
Data
) using
entity to marker mapping function§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more