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