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