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