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