Enum minetest_protocol::wire::types::CommandDirection
source · pub enum CommandDirection {
ToClient,
ToServer,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for CommandDirection
impl Clone for CommandDirection
source§fn clone(&self) -> CommandDirection
fn clone(&self) -> CommandDirection
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 CommandDirection
impl Debug for CommandDirection
source§impl PartialEq<CommandDirection> for CommandDirection
impl PartialEq<CommandDirection> for CommandDirection
source§fn eq(&self, other: &CommandDirection) -> bool
fn eq(&self, other: &CommandDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.