pub struct WorldBorderInitiaializeSpec {
pub position: TopDownPosition<f64>,
pub old_diameter: f64,
pub new_diameter: f64,
pub speed: VarLong,
pub portal_teleport_boundary: VarLong,
pub warning_time: VarInt,
pub warning_blocks: VarInt,
}
Fields§
§position: TopDownPosition<f64>
§old_diameter: f64
§new_diameter: f64
§speed: VarLong
§portal_teleport_boundary: VarLong
§warning_time: VarInt
§warning_blocks: VarInt
Trait Implementations§
Source§impl Clone for WorldBorderInitiaializeSpec
impl Clone for WorldBorderInitiaializeSpec
Source§fn clone(&self) -> WorldBorderInitiaializeSpec
fn clone(&self) -> WorldBorderInitiaializeSpec
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 WorldBorderInitiaializeSpec
impl Debug for WorldBorderInitiaializeSpec
Source§impl Deserialize for WorldBorderInitiaializeSpec
impl Deserialize for WorldBorderInitiaializeSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<(ChunkPosition<f64>, f64, f64, VarLong, VarLong, VarInt, VarInt)> for WorldBorderInitiaializeSpec
impl From<(ChunkPosition<f64>, f64, f64, VarLong, VarLong, VarInt, VarInt)> for WorldBorderInitiaializeSpec
Source§impl From<WorldBorderInitiaializeSpec> for (TopDownPosition<f64>, f64, f64, VarLong, VarLong, VarInt, VarInt)
impl From<WorldBorderInitiaializeSpec> for (TopDownPosition<f64>, f64, f64, VarLong, VarLong, VarInt, VarInt)
Source§fn from(other: WorldBorderInitiaializeSpec) -> Self
fn from(other: WorldBorderInitiaializeSpec) -> Self
Converts to this type from the input type.
Source§impl Serialize for WorldBorderInitiaializeSpec
impl Serialize for WorldBorderInitiaializeSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for WorldBorderInitiaializeSpec
Auto Trait Implementations§
impl Freeze for WorldBorderInitiaializeSpec
impl RefUnwindSafe for WorldBorderInitiaializeSpec
impl Send for WorldBorderInitiaializeSpec
impl Sync for WorldBorderInitiaializeSpec
impl Unpin for WorldBorderInitiaializeSpec
impl UnwindSafe for WorldBorderInitiaializeSpec
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