Struct minetest_protocol::wire::command::CsmRestrictionFlagsSpec
source · pub struct CsmRestrictionFlagsSpec {
pub csm_restriction_flags: u64,
pub csm_restriction_noderange: u32,
}
Fields§
§csm_restriction_flags: u64
§csm_restriction_noderange: u32
Trait Implementations§
source§impl Clone for CsmRestrictionFlagsSpec
impl Clone for CsmRestrictionFlagsSpec
source§fn clone(&self) -> CsmRestrictionFlagsSpec
fn clone(&self) -> CsmRestrictionFlagsSpec
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 CsmRestrictionFlagsSpec
impl Debug for CsmRestrictionFlagsSpec
source§impl Deserialize for CsmRestrictionFlagsSpec
impl Deserialize for CsmRestrictionFlagsSpec
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl From<CsmRestrictionFlagsSpec> for ToClientCommand
impl From<CsmRestrictionFlagsSpec> for ToClientCommand
source§fn from(value: CsmRestrictionFlagsSpec) -> Self
fn from(value: CsmRestrictionFlagsSpec) -> Self
Converts to this type from the input type.
source§impl PartialEq<CsmRestrictionFlagsSpec> for CsmRestrictionFlagsSpec
impl PartialEq<CsmRestrictionFlagsSpec> for CsmRestrictionFlagsSpec
source§fn eq(&self, other: &CsmRestrictionFlagsSpec) -> bool
fn eq(&self, other: &CsmRestrictionFlagsSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.