pub struct PlayUpdateStructureBlockSpec {
pub location: IntPosition,
pub action: UpdateStructureBlockAction,
pub mode: UpdateStructureBlockMode,
pub name: String,
pub offset: Vec3<i8>,
pub size: Vec3<i8>,
pub mirror: UpdateStructureBlockMirror,
pub rotation: UpdateStructureBlockRotation,
pub metadata: String,
pub integrity: f32,
pub seed: VarLong,
pub flags: UpdateStructureBlockFlags,
}
Fields§
§location: IntPosition
§action: UpdateStructureBlockAction
§mode: UpdateStructureBlockMode
§name: String
§offset: Vec3<i8>
§size: Vec3<i8>
§mirror: UpdateStructureBlockMirror
§rotation: UpdateStructureBlockRotation
§metadata: String
§integrity: f32
§seed: VarLong
§flags: UpdateStructureBlockFlags
Trait Implementations§
Source§impl Clone for PlayUpdateStructureBlockSpec
impl Clone for PlayUpdateStructureBlockSpec
Source§fn clone(&self) -> PlayUpdateStructureBlockSpec
fn clone(&self) -> PlayUpdateStructureBlockSpec
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 PlayUpdateStructureBlockSpec
impl Debug for PlayUpdateStructureBlockSpec
Source§impl Deserialize for PlayUpdateStructureBlockSpec
impl Deserialize for PlayUpdateStructureBlockSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<(IntPosition, UpdateStructureBlockAction, UpdateStructureBlockMode, String, Vec3<i8>, Vec3<i8>, UpdateStructureBlockMirror, UpdateStructureBlockRotation, String, f32, VarLong, UpdateStructureBlockFlags)> for PlayUpdateStructureBlockSpec
impl From<(IntPosition, UpdateStructureBlockAction, UpdateStructureBlockMode, String, Vec3<i8>, Vec3<i8>, UpdateStructureBlockMirror, UpdateStructureBlockRotation, String, f32, VarLong, UpdateStructureBlockFlags)> for PlayUpdateStructureBlockSpec
Source§fn from(
other: (IntPosition, UpdateStructureBlockAction, UpdateStructureBlockMode, String, Vec3<i8>, Vec3<i8>, UpdateStructureBlockMirror, UpdateStructureBlockRotation, String, f32, VarLong, UpdateStructureBlockFlags),
) -> Self
fn from( other: (IntPosition, UpdateStructureBlockAction, UpdateStructureBlockMode, String, Vec3<i8>, Vec3<i8>, UpdateStructureBlockMirror, UpdateStructureBlockRotation, String, f32, VarLong, UpdateStructureBlockFlags), ) -> Self
Converts to this type from the input type.
Source§impl From<PlayUpdateStructureBlockSpec> for (IntPosition, UpdateStructureBlockAction, UpdateStructureBlockMode, String, Vec3<i8>, Vec3<i8>, UpdateStructureBlockMirror, UpdateStructureBlockRotation, String, f32, VarLong, UpdateStructureBlockFlags)
impl From<PlayUpdateStructureBlockSpec> for (IntPosition, UpdateStructureBlockAction, UpdateStructureBlockMode, String, Vec3<i8>, Vec3<i8>, UpdateStructureBlockMirror, UpdateStructureBlockRotation, String, f32, VarLong, UpdateStructureBlockFlags)
Source§fn from(other: PlayUpdateStructureBlockSpec) -> Self
fn from(other: PlayUpdateStructureBlockSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayUpdateStructureBlockSpec
impl PartialEq for PlayUpdateStructureBlockSpec
Source§fn eq(&self, other: &PlayUpdateStructureBlockSpec) -> bool
fn eq(&self, other: &PlayUpdateStructureBlockSpec) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for PlayUpdateStructureBlockSpec
impl Serialize for PlayUpdateStructureBlockSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayUpdateStructureBlockSpec
Auto Trait Implementations§
impl Freeze for PlayUpdateStructureBlockSpec
impl RefUnwindSafe for PlayUpdateStructureBlockSpec
impl Send for PlayUpdateStructureBlockSpec
impl Sync for PlayUpdateStructureBlockSpec
impl Unpin for PlayUpdateStructureBlockSpec
impl UnwindSafe for PlayUpdateStructureBlockSpec
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