[−][src]Struct mcproto_rs::types::EntityLocation
Fields
position: Vec3<P>
rotation: EntityRotation<R>
Trait Implementations
impl<P: Clone, R: Clone> Clone for EntityLocation<P, R> where
P: Debug + Clone + PartialEq,
R: Debug + Clone + PartialEq,
[src]
P: Debug + Clone + PartialEq,
R: Debug + Clone + PartialEq,
pub fn clone(&self) -> EntityLocation<P, R>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<P: Debug, R: Debug> Debug for EntityLocation<P, R> where
P: Debug + Clone + PartialEq,
R: Debug + Clone + PartialEq,
[src]
P: Debug + Clone + PartialEq,
R: Debug + Clone + PartialEq,
impl<P, R> Deserialize for EntityLocation<P, R> where
P: Deserialize + Debug + Clone + PartialEq,
R: Deserialize + Debug + Clone + PartialEq,
[src]
P: Deserialize + Debug + Clone + PartialEq,
R: Deserialize + Debug + Clone + PartialEq,
pub fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
[src]
impl<P, R> From<(Vec3<P>, EntityRotation<R>)> for EntityLocation<P, R> where
P: Debug + Clone + PartialEq,
R: Debug + Clone + PartialEq,
[src]
P: Debug + Clone + PartialEq,
R: Debug + Clone + PartialEq,
impl From<EntityLocation<f64, f32>> for PlayEntityVehicleMoveSpec
[src]
pub fn from(other: EntityLocation<f64, f32>) -> Self
[src]
impl From<EntityLocation<f64, f32>> for PlayClientVehicleMoveSpec
[src]
pub fn from(other: EntityLocation<f64, f32>) -> Self
[src]
impl From<EntityLocation<f64, f32>> for PlayEntityVehicleMoveSpec
[src]
pub fn from(other: EntityLocation<f64, f32>) -> Self
[src]
impl From<EntityLocation<f64, f32>> for PlayClientVehicleMoveSpec
[src]
pub fn from(other: EntityLocation<f64, f32>) -> Self
[src]
impl From<PlayClientVehicleMoveSpec> for EntityLocation<f64, f32>
[src]
pub fn from(other: PlayClientVehicleMoveSpec) -> Self
[src]
impl From<PlayClientVehicleMoveSpec> for EntityLocation<f64, f32>
[src]
pub fn from(other: PlayClientVehicleMoveSpec) -> Self
[src]
impl From<PlayEntityVehicleMoveSpec> for EntityLocation<f64, f32>
[src]
pub fn from(other: PlayEntityVehicleMoveSpec) -> Self
[src]
impl From<PlayEntityVehicleMoveSpec> for EntityLocation<f64, f32>
[src]
pub fn from(other: PlayEntityVehicleMoveSpec) -> Self
[src]
impl<P: PartialEq, R: PartialEq> PartialEq<EntityLocation<P, R>> for EntityLocation<P, R> where
P: Debug + Clone + PartialEq,
R: Debug + Clone + PartialEq,
[src]
P: Debug + Clone + PartialEq,
R: Debug + Clone + PartialEq,
pub fn eq(&self, other: &EntityLocation<P, R>) -> bool
[src]
pub fn ne(&self, other: &EntityLocation<P, R>) -> bool
[src]
impl<P, R> Serialize for EntityLocation<P, R> where
P: Serialize + Debug + Clone + PartialEq,
R: Serialize + Debug + Clone + PartialEq,
[src]
P: Serialize + Debug + Clone + PartialEq,
R: Serialize + Debug + Clone + PartialEq,
pub fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
[src]
impl<P, R> StructuralPartialEq for EntityLocation<P, R> where
P: Debug + Clone + PartialEq,
R: Debug + Clone + PartialEq,
[src]
P: Debug + Clone + PartialEq,
R: Debug + Clone + PartialEq,
Auto Trait Implementations
impl<P, R> RefUnwindSafe for EntityLocation<P, R> where
P: RefUnwindSafe,
R: RefUnwindSafe,
[src]
P: RefUnwindSafe,
R: RefUnwindSafe,
impl<P, R> Send for EntityLocation<P, R> where
P: Send,
R: Send,
[src]
P: Send,
R: Send,
impl<P, R> Sync for EntityLocation<P, R> where
P: Sync,
R: Sync,
[src]
P: Sync,
R: Sync,
impl<P, R> Unpin for EntityLocation<P, R> where
P: Unpin,
R: Unpin,
[src]
P: Unpin,
R: Unpin,
impl<P, R> UnwindSafe for EntityLocation<P, R> where
P: UnwindSafe,
R: UnwindSafe,
[src]
P: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ProtocolType for T where
T: Deserialize + Serialize,
[src]
T: Deserialize + Serialize,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,