pub struct WorldBorderWarningBlocksSpec {
pub warning_blocks: VarInt,
}
Fields§
§warning_blocks: VarInt
Trait Implementations§
Source§impl Clone for WorldBorderWarningBlocksSpec
impl Clone for WorldBorderWarningBlocksSpec
Source§fn clone(&self) -> WorldBorderWarningBlocksSpec
fn clone(&self) -> WorldBorderWarningBlocksSpec
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 WorldBorderWarningBlocksSpec
impl Debug for WorldBorderWarningBlocksSpec
Source§impl Deserialize for WorldBorderWarningBlocksSpec
impl Deserialize for WorldBorderWarningBlocksSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<VarInt> for WorldBorderWarningBlocksSpec
impl From<VarInt> for WorldBorderWarningBlocksSpec
Source§impl From<WorldBorderWarningBlocksSpec> for VarInt
impl From<WorldBorderWarningBlocksSpec> for VarInt
Source§fn from(other: WorldBorderWarningBlocksSpec) -> Self
fn from(other: WorldBorderWarningBlocksSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WorldBorderWarningBlocksSpec
impl PartialEq for WorldBorderWarningBlocksSpec
Source§fn eq(&self, other: &WorldBorderWarningBlocksSpec) -> bool
fn eq(&self, other: &WorldBorderWarningBlocksSpec) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for WorldBorderWarningBlocksSpec
impl Serialize for WorldBorderWarningBlocksSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for WorldBorderWarningBlocksSpec
Auto Trait Implementations§
impl Freeze for WorldBorderWarningBlocksSpec
impl RefUnwindSafe for WorldBorderWarningBlocksSpec
impl Send for WorldBorderWarningBlocksSpec
impl Sync for WorldBorderWarningBlocksSpec
impl Unpin for WorldBorderWarningBlocksSpec
impl UnwindSafe for WorldBorderWarningBlocksSpec
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