Struct minetest_protocol::wire::types::AOCSpawnInfant
source · pub struct AOCSpawnInfant {
pub child_id: u16,
pub typ: u8,
}
Fields§
§child_id: u16
§typ: u8
Trait Implementations§
source§impl Clone for AOCSpawnInfant
impl Clone for AOCSpawnInfant
source§fn clone(&self) -> AOCSpawnInfant
fn clone(&self) -> AOCSpawnInfant
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 AOCSpawnInfant
impl Debug for AOCSpawnInfant
source§impl Deserialize for AOCSpawnInfant
impl Deserialize for AOCSpawnInfant
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl PartialEq<AOCSpawnInfant> for AOCSpawnInfant
impl PartialEq<AOCSpawnInfant> for AOCSpawnInfant
source§fn eq(&self, other: &AOCSpawnInfant) -> bool
fn eq(&self, other: &AOCSpawnInfant) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.