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