[][src]Struct qt_3d_render::q_ray_caster_hit::HitType

#[repr(transparent)]pub struct HitType(_);

C++ enum: Qt3DRender::QRayCasterHit::HitType.

Methods

impl HitType[src]

pub fn to_int(&self) -> c_int[src]

impl HitType[src]

pub const TriangleHit: HitType[src]

C++ enum variant: TriangleHit = 0

pub const LineHit: HitType[src]

C++ enum variant: LineHit = 1

pub const PointHit: HitType[src]

C++ enum variant: PointHit = 2

pub const EntityHit: HitType[src]

C++ enum variant: EntityHit = 3

Trait Implementations

impl Clone for HitType[src]

impl Copy for HitType[src]

impl Debug for HitType[src]

impl Eq for HitType[src]

impl From<HitType> for c_int[src]

impl From<i32> for HitType[src]

impl PartialEq<HitType> for HitType[src]

impl StructuralEq for HitType[src]

impl StructuralPartialEq for HitType[src]

Auto Trait Implementations

impl RefUnwindSafe for HitType

impl Send for HitType

impl Sync for HitType

impl Unpin for HitType

impl UnwindSafe for HitType

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, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

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

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

impl<T> StaticUpcast<T> for T[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.