pub struct ClientboundPlayMoveMinecartSteps {
pub position: Vec3f,
pub movement: Vec3f,
pub yaw: f32,
pub pitch: f32,
pub weight: f32,
}Expand description
Inline data structure used by ClientboundPlayMoveMinecart.
Fields§
§position: Vec3f§movement: Vec3f§yaw: f32§pitch: f32§weight: f32Trait Implementations§
Source§impl Clone for ClientboundPlayMoveMinecartSteps
impl Clone for ClientboundPlayMoveMinecartSteps
Source§fn clone(&self) -> ClientboundPlayMoveMinecartSteps
fn clone(&self) -> ClientboundPlayMoveMinecartSteps
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 Default for ClientboundPlayMoveMinecartSteps
impl Default for ClientboundPlayMoveMinecartSteps
Source§fn default() -> ClientboundPlayMoveMinecartSteps
fn default() -> ClientboundPlayMoveMinecartSteps
Returns the “default value” for a type. Read more
Source§impl EncodedSize for ClientboundPlayMoveMinecartSteps
impl EncodedSize for ClientboundPlayMoveMinecartSteps
fn encoded_size(&self) -> usize
Source§impl PartialEq for ClientboundPlayMoveMinecartSteps
impl PartialEq for ClientboundPlayMoveMinecartSteps
Source§fn eq(&self, other: &ClientboundPlayMoveMinecartSteps) -> bool
fn eq(&self, other: &ClientboundPlayMoveMinecartSteps) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClientboundPlayMoveMinecartSteps
Auto Trait Implementations§
impl Freeze for ClientboundPlayMoveMinecartSteps
impl RefUnwindSafe for ClientboundPlayMoveMinecartSteps
impl Send for ClientboundPlayMoveMinecartSteps
impl Sync for ClientboundPlayMoveMinecartSteps
impl Unpin for ClientboundPlayMoveMinecartSteps
impl UnsafeUnpin for ClientboundPlayMoveMinecartSteps
impl UnwindSafe for ClientboundPlayMoveMinecartSteps
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