pub struct IntPosition {
pub x: i32,
pub y: i16,
pub z: i32,
}
Fields§
§x: i32
§y: i16
§z: i32
Trait Implementations§
Source§impl Clone for IntPosition
impl Clone for IntPosition
Source§fn clone(&self) -> IntPosition
fn clone(&self) -> IntPosition
Returns a duplicate 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 IntPosition
impl Debug for IntPosition
Source§impl Deserialize for IntPosition
impl Deserialize for IntPosition
fn mc_deserialize(data: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<IntPosition> for PlayOpenSignEditorSpec
impl From<IntPosition> for PlayOpenSignEditorSpec
Source§fn from(other: IntPosition) -> Self
fn from(other: IntPosition) -> Self
Converts to this type from the input type.
Source§impl From<IntPosition> for PlayOpenSignEditorSpec
impl From<IntPosition> for PlayOpenSignEditorSpec
Source§fn from(other: IntPosition) -> Self
fn from(other: IntPosition) -> Self
Converts to this type from the input type.
Source§impl From<IntPosition> for PlaySpawnPositionSpec
impl From<IntPosition> for PlaySpawnPositionSpec
Source§fn from(other: IntPosition) -> Self
fn from(other: IntPosition) -> Self
Converts to this type from the input type.
Source§impl From<IntPosition> for PlaySpawnPositionSpec
impl From<IntPosition> for PlaySpawnPositionSpec
Source§fn from(other: IntPosition) -> Self
fn from(other: IntPosition) -> Self
Converts to this type from the input type.
Source§impl From<PlayOpenSignEditorSpec> for IntPosition
impl From<PlayOpenSignEditorSpec> for IntPosition
Source§fn from(other: PlayOpenSignEditorSpec) -> Self
fn from(other: PlayOpenSignEditorSpec) -> Self
Converts to this type from the input type.
Source§impl From<PlayOpenSignEditorSpec> for IntPosition
impl From<PlayOpenSignEditorSpec> for IntPosition
Source§fn from(other: PlayOpenSignEditorSpec) -> Self
fn from(other: PlayOpenSignEditorSpec) -> Self
Converts to this type from the input type.
Source§impl From<PlaySpawnPositionSpec> for IntPosition
impl From<PlaySpawnPositionSpec> for IntPosition
Source§fn from(other: PlaySpawnPositionSpec) -> Self
fn from(other: PlaySpawnPositionSpec) -> Self
Converts to this type from the input type.
Source§impl From<PlaySpawnPositionSpec> for IntPosition
impl From<PlaySpawnPositionSpec> for IntPosition
Source§fn from(other: PlaySpawnPositionSpec) -> Self
fn from(other: PlaySpawnPositionSpec) -> Self
Converts to this type from the input type.
Source§impl Hash for IntPosition
impl Hash for IntPosition
Source§impl PartialEq for IntPosition
impl PartialEq for IntPosition
Source§impl Serialize for IntPosition
impl Serialize for IntPosition
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl Copy for IntPosition
impl StructuralPartialEq for IntPosition
Auto Trait Implementations§
impl Freeze for IntPosition
impl RefUnwindSafe for IntPosition
impl Send for IntPosition
impl Sync for IntPosition
impl Unpin for IntPosition
impl UnwindSafe for IntPosition
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more