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