Type Alias script::dom::xrsession::ApiPose

source ·
pub type ApiPose = RigidTransform3D<f32, ApiSpace, Native>;

Aliased Type§

struct ApiPose {
    pub rotation: Rotation3D<f32, ApiSpace, Native>,
    pub translation: Vector3D<f32, Native>,
}

Fields§

§rotation: Rotation3D<f32, ApiSpace, Native>§translation: Vector3D<f32, Native>

Trait Implementations§

source§

impl<T, Src, Dst> PartialEq<RigidTransform3D<T, Src, Dst>> for RigidTransform3D<T, Src, Dst>where T: PartialEq<T>, Src: PartialEq<Src>, Dst: PartialEq<Dst>,

source§

fn eq(&self, other: &RigidTransform3D<T, Src, Dst>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<T, Src, Dst> Eq for RigidTransform3D<T, Src, Dst>where T: Eq, Src: Eq, Dst: Eq,