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