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