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