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