[][src]Struct mcproto_rs::types::EntityLocation

pub struct EntityLocation<P, R> where
    P: Debug + Clone + PartialEq,
    R: Debug + Clone + PartialEq
{ pub position: Vec3<P>, pub rotation: EntityRotation<R>, }

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]

impl<P: Debug, R: Debug> Debug for EntityLocation<P, R> where
    P: Debug + Clone + PartialEq,
    R: Debug + Clone + PartialEq
[src]

impl<P, R> Deserialize for EntityLocation<P, R> where
    P: Deserialize + Debug + Clone + PartialEq,
    R: Deserialize + Debug + Clone + PartialEq
[src]

impl<P, R> From<(Vec3<P>, EntityRotation<R>)> for EntityLocation<P, R> where
    P: Debug + Clone + PartialEq,
    R: Debug + Clone + PartialEq
[src]

impl From<EntityLocation<f64, f32>> for PlayEntityVehicleMoveSpec[src]

impl From<EntityLocation<f64, f32>> for PlayClientVehicleMoveSpec[src]

impl From<EntityLocation<f64, f32>> for PlayEntityVehicleMoveSpec[src]

impl From<EntityLocation<f64, f32>> for PlayClientVehicleMoveSpec[src]

impl From<PlayClientVehicleMoveSpec> for EntityLocation<f64, f32>[src]

impl From<PlayClientVehicleMoveSpec> for EntityLocation<f64, f32>[src]

impl From<PlayEntityVehicleMoveSpec> for EntityLocation<f64, f32>[src]

impl From<PlayEntityVehicleMoveSpec> for EntityLocation<f64, f32>[src]

impl<P: PartialEq, R: PartialEq> PartialEq<EntityLocation<P, R>> for EntityLocation<P, R> where
    P: Debug + Clone + PartialEq,
    R: Debug + Clone + PartialEq
[src]

impl<P, R> Serialize for EntityLocation<P, R> where
    P: Serialize + Debug + Clone + PartialEq,
    R: Serialize + Debug + Clone + PartialEq
[src]

impl<P, R> StructuralPartialEq for EntityLocation<P, R> where
    P: Debug + Clone + PartialEq,
    R: Debug + Clone + PartialEq
[src]

Auto Trait Implementations

impl<P, R> RefUnwindSafe for EntityLocation<P, R> where
    P: RefUnwindSafe,
    R: RefUnwindSafe
[src]

impl<P, R> Send for EntityLocation<P, R> where
    P: Send,
    R: Send
[src]

impl<P, R> Sync for EntityLocation<P, R> where
    P: Sync,
    R: Sync
[src]

impl<P, R> Unpin for EntityLocation<P, R> where
    P: Unpin,
    R: Unpin
[src]

impl<P, R> UnwindSafe for EntityLocation<P, R> where
    P: UnwindSafe,
    R: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ProtocolType for T where
    T: Deserialize + Serialize
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,