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