pub struct PlayGenerateStructureSpec {
pub location: IntPosition,
pub levels: VarInt,
pub keep_jigsaws: bool,
}
Fields§
§location: IntPosition
§levels: VarInt
§keep_jigsaws: bool
Trait Implementations§
Source§impl Clone for PlayGenerateStructureSpec
impl Clone for PlayGenerateStructureSpec
Source§fn clone(&self) -> PlayGenerateStructureSpec
fn clone(&self) -> PlayGenerateStructureSpec
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 PlayGenerateStructureSpec
impl Debug for PlayGenerateStructureSpec
Source§impl Deserialize for PlayGenerateStructureSpec
impl Deserialize for PlayGenerateStructureSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<(IntPosition, VarInt, bool)> for PlayGenerateStructureSpec
impl From<(IntPosition, VarInt, bool)> for PlayGenerateStructureSpec
Source§impl From<PlayGenerateStructureSpec> for (IntPosition, VarInt, bool)
impl From<PlayGenerateStructureSpec> for (IntPosition, VarInt, bool)
Source§fn from(other: PlayGenerateStructureSpec) -> Self
fn from(other: PlayGenerateStructureSpec) -> Self
Converts to this type from the input type.
Source§impl Serialize for PlayGenerateStructureSpec
impl Serialize for PlayGenerateStructureSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayGenerateStructureSpec
Auto Trait Implementations§
impl Freeze for PlayGenerateStructureSpec
impl RefUnwindSafe for PlayGenerateStructureSpec
impl Send for PlayGenerateStructureSpec
impl Sync for PlayGenerateStructureSpec
impl Unpin for PlayGenerateStructureSpec
impl UnwindSafe for PlayGenerateStructureSpec
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