pub struct BlockChangeHorizontalPosition {
pub rel_x: u8,
pub rel_z: u8,
}
Fields§
§rel_x: u8
§rel_z: u8
Trait Implementations§
Source§impl Clone for BlockChangeHorizontalPosition
impl Clone for BlockChangeHorizontalPosition
Source§fn clone(&self) -> BlockChangeHorizontalPosition
fn clone(&self) -> BlockChangeHorizontalPosition
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 Deserialize for BlockChangeHorizontalPosition
impl Deserialize for BlockChangeHorizontalPosition
fn mc_deserialize(data: &[u8]) -> DeserializeResult<'_, Self>
Source§impl PartialEq for BlockChangeHorizontalPosition
impl PartialEq for BlockChangeHorizontalPosition
Source§fn eq(&self, other: &BlockChangeHorizontalPosition) -> bool
fn eq(&self, other: &BlockChangeHorizontalPosition) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for BlockChangeHorizontalPosition
impl Serialize for BlockChangeHorizontalPosition
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl Copy for BlockChangeHorizontalPosition
impl StructuralPartialEq for BlockChangeHorizontalPosition
Auto Trait Implementations§
impl Freeze for BlockChangeHorizontalPosition
impl RefUnwindSafe for BlockChangeHorizontalPosition
impl Send for BlockChangeHorizontalPosition
impl Sync for BlockChangeHorizontalPosition
impl Unpin for BlockChangeHorizontalPosition
impl UnwindSafe for BlockChangeHorizontalPosition
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