Enum minetest_protocol::wire::types::ActiveObjectCommand
source · pub enum ActiveObjectCommand {
Show 13 variants
SetProperties(AOCSetProperties),
UpdatePosition(AOCUpdatePosition),
SetTextureMod(AOCSetTextureMod),
SetSprite(AOCSetSprite),
SetPhysicsOverride(AOCSetPhysicsOverride),
SetAnimation(AOCSetAnimation),
SetAnimationSpeed(AOCSetAnimationSpeed),
SetBonePosition(AOCSetBonePosition),
AttachTo(AOCAttachTo),
Punched(AOCPunched),
UpdateArmorGroups(AOCUpdateArmorGroups),
SpawnInfant(AOCSpawnInfant),
Obsolete1(AOCObsolete1),
}
Variants§
SetProperties(AOCSetProperties)
UpdatePosition(AOCUpdatePosition)
SetTextureMod(AOCSetTextureMod)
SetSprite(AOCSetSprite)
SetPhysicsOverride(AOCSetPhysicsOverride)
SetAnimation(AOCSetAnimation)
SetAnimationSpeed(AOCSetAnimationSpeed)
SetBonePosition(AOCSetBonePosition)
AttachTo(AOCAttachTo)
Punched(AOCPunched)
UpdateArmorGroups(AOCUpdateArmorGroups)
SpawnInfant(AOCSpawnInfant)
Obsolete1(AOCObsolete1)
Trait Implementations§
source§impl Clone for ActiveObjectCommand
impl Clone for ActiveObjectCommand
source§fn clone(&self) -> ActiveObjectCommand
fn clone(&self) -> ActiveObjectCommand
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 ActiveObjectCommand
impl Debug for ActiveObjectCommand
source§impl Deserialize for ActiveObjectCommand
impl Deserialize for ActiveObjectCommand
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl PartialEq<ActiveObjectCommand> for ActiveObjectCommand
impl PartialEq<ActiveObjectCommand> for ActiveObjectCommand
source§fn eq(&self, other: &ActiveObjectCommand) -> bool
fn eq(&self, other: &ActiveObjectCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.