Enum minetest_protocol::wire::packet::PacketBody
source · pub enum PacketBody {
Reliable(ReliableBody),
Inner(InnerBody),
}
Variants§
Reliable(ReliableBody)
Inner(InnerBody)
Implementations§
source§impl PacketBody
impl PacketBody
Trait Implementations§
source§impl Clone for PacketBody
impl Clone for PacketBody
source§fn clone(&self) -> PacketBody
fn clone(&self) -> PacketBody
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 PacketBody
impl Debug for PacketBody
source§impl Deserialize for PacketBody
impl Deserialize for PacketBody
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl PartialEq<PacketBody> for PacketBody
impl PartialEq<PacketBody> for PacketBody
source§fn eq(&self, other: &PacketBody) -> bool
fn eq(&self, other: &PacketBody) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.