[][src]Struct qt_3d_extras::QConeGeometry

#[repr(C)]
pub struct QConeGeometry { /* fields omitted */ }

The QConeGeometry class allows creation of a cone in 3D space.

C++ class: Qt3DExtras::QConeGeometry.

C++ documentation:

The QConeGeometry class allows creation of a cone in 3D space.

The QConeGeometry class is most commonly used internally by the QConeMesh but can also be used in custom Qt3DRender::QGeometryRenderer subclasses. The class allows for creation of both a cone and a truncated cone.

Methods

impl QConeGeometry[src]

pub fn slot_set_has_top_endcap(&self) -> Receiver<(bool,)>[src]

Determines if the cone top is capped or open.

Returns a built-in Qt slot Qt3DExtras::QConeGeometry::setHasTopEndcap that can be passed to qt_core::Signal::connect.

C++ documentation:

Determines if the cone top is capped or open.

Access functions:

bool hasTopEndcap() const
void setHasTopEndcap(bool hasTopEndcap)

Notifier signal:

void hasTopEndcapChanged(bool hasTopEndcap)

pub fn slot_set_has_bottom_endcap(&self) -> Receiver<(bool,)>[src]

Determines if the cone bottom is capped or open.

Returns a built-in Qt slot Qt3DExtras::QConeGeometry::setHasBottomEndcap that can be passed to qt_core::Signal::connect.

C++ documentation:

Determines if the cone bottom is capped or open.

Access functions:

bool hasBottomEndcap() const
void setHasBottomEndcap(bool hasBottomEndcap)

Notifier signal:

void hasBottomEndcapChanged(bool hasBottomEndcap)

pub fn slot_set_top_radius(&self) -> Receiver<(c_float,)>[src]

Holds the top radius of the cone.

Returns a built-in Qt slot Qt3DExtras::QConeGeometry::setTopRadius that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the top radius of the cone.

Access functions:

float topRadius() const
void setTopRadius(float topRadius)

Notifier signal:

void topRadiusChanged(float topRadius)

pub fn slot_set_bottom_radius(&self) -> Receiver<(c_float,)>[src]

Holds the bottom radius of the cone.

Returns a built-in Qt slot Qt3DExtras::QConeGeometry::setBottomRadius that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the bottom radius of the cone.

Access functions:

float bottomRadius() const
void setBottomRadius(float bottomRadius)

Notifier signal:

void bottomRadiusChanged(float bottomRadius)

pub fn slot_set_rings(&self) -> Receiver<(c_int,)>[src]

Holds the number of rings in the geometry.

Returns a built-in Qt slot Qt3DExtras::QConeGeometry::setRings that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the number of rings in the geometry.

Access functions:

int rings() const
void setRings(int rings)

Notifier signal:

void ringsChanged(int rings)

pub fn slot_set_slices(&self) -> Receiver<(c_int,)>[src]

Holds the number of slices in the geometry.

Returns a built-in Qt slot Qt3DExtras::QConeGeometry::setSlices that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the number of slices in the geometry.

Access functions:

int slices() const
void setSlices(int slices)

Notifier signal:

void slicesChanged(int slices)

pub fn slot_set_length(&self) -> Receiver<(c_float,)>[src]

Holds the length of the cone.

Returns a built-in Qt slot Qt3DExtras::QConeGeometry::setLength that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the length of the cone.

Access functions:

float length() const
void setLength(float length)

Notifier signal:

void lengthChanged(float length)

pub fn has_top_endcap_changed(&self) -> Signal<(bool,)>[src]

Determines if the cone top is capped or open.

Returns a built-in Qt signal Qt3DExtras::QConeGeometry::hasTopEndcapChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Determines if the cone top is capped or open.

Access functions:

bool hasTopEndcap() const
void setHasTopEndcap(bool hasTopEndcap)

Notifier signal:

void hasTopEndcapChanged(bool hasTopEndcap)

pub fn has_bottom_endcap_changed(&self) -> Signal<(bool,)>[src]

Determines if the cone bottom is capped or open.

Returns a built-in Qt signal Qt3DExtras::QConeGeometry::hasBottomEndcapChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Determines if the cone bottom is capped or open.

Access functions:

bool hasBottomEndcap() const
void setHasBottomEndcap(bool hasBottomEndcap)

Notifier signal:

void hasBottomEndcapChanged(bool hasBottomEndcap)

pub fn top_radius_changed(&self) -> Signal<(c_float,)>[src]

Holds the top radius of the cone.

Returns a built-in Qt signal Qt3DExtras::QConeGeometry::topRadiusChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the top radius of the cone.

Access functions:

float topRadius() const
void setTopRadius(float topRadius)

Notifier signal:

void topRadiusChanged(float topRadius)

pub fn bottom_radius_changed(&self) -> Signal<(c_float,)>[src]

Holds the bottom radius of the cone.

Returns a built-in Qt signal Qt3DExtras::QConeGeometry::bottomRadiusChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the bottom radius of the cone.

Access functions:

float bottomRadius() const
void setBottomRadius(float bottomRadius)

Notifier signal:

void bottomRadiusChanged(float bottomRadius)

pub fn rings_changed(&self) -> Signal<(c_int,)>[src]

Holds the number of rings in the geometry.

Returns a built-in Qt signal Qt3DExtras::QConeGeometry::ringsChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the number of rings in the geometry.

Access functions:

int rings() const
void setRings(int rings)

Notifier signal:

void ringsChanged(int rings)

pub fn slices_changed(&self) -> Signal<(c_int,)>[src]

Holds the number of slices in the geometry.

Returns a built-in Qt signal Qt3DExtras::QConeGeometry::slicesChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the number of slices in the geometry.

Access functions:

int slices() const
void setSlices(int slices)

Notifier signal:

void slicesChanged(int slices)

pub fn length_changed(&self) -> Signal<(c_float,)>[src]

Holds the length of the cone.

Returns a built-in Qt signal Qt3DExtras::QConeGeometry::lengthChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the length of the cone.

Access functions:

float length() const
void setLength(float length)

Notifier signal:

void lengthChanged(float length)

pub unsafe fn bottom_radius(&self) -> c_float[src]

Holds the bottom radius of the cone.

Calls C++ function: float Qt3DExtras::QConeGeometry::bottomRadius() const.

C++ documentation:

Holds the bottom radius of the cone.

Access functions:

float bottomRadius() const
void setBottomRadius(float bottomRadius)

Notifier signal:

void bottomRadiusChanged(float bottomRadius)

pub unsafe fn has_bottom_endcap(&self) -> bool[src]

Determines if the cone bottom is capped or open.

Calls C++ function: bool Qt3DExtras::QConeGeometry::hasBottomEndcap() const.

C++ documentation:

Determines if the cone bottom is capped or open.

Access functions:

bool hasBottomEndcap() const
void setHasBottomEndcap(bool hasBottomEndcap)

Notifier signal:

void hasBottomEndcapChanged(bool hasBottomEndcap)

pub unsafe fn has_top_endcap(&self) -> bool[src]

Determines if the cone top is capped or open.

Calls C++ function: bool Qt3DExtras::QConeGeometry::hasTopEndcap() const.

C++ documentation:

Determines if the cone top is capped or open.

Access functions:

bool hasTopEndcap() const
void setHasTopEndcap(bool hasTopEndcap)

Notifier signal:

void hasTopEndcapChanged(bool hasTopEndcap)

pub unsafe fn index_attribute(&self) -> MutPtr<QAttribute>[src]

Holds the geometry index attribute.

Calls C++ function: Qt3DRender::QAttribute* Qt3DExtras::QConeGeometry::indexAttribute() const.

C++ documentation:

Holds the geometry index attribute.

Access functions:

Qt3DRender::QAttribute *indexAttribute() const

pub unsafe fn length(&self) -> c_float[src]

Holds the length of the cone.

Calls C++ function: float Qt3DExtras::QConeGeometry::length() const.

C++ documentation:

Holds the length of the cone.

Access functions:

float length() const
void setLength(float length)

Notifier signal:

void lengthChanged(float length)

pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>[src]

Calls C++ function: virtual const QMetaObject* Qt3DExtras::QConeGeometry::metaObject() const.

pub unsafe fn new_1a(
    parent: impl CastInto<MutPtr<QNode>>
) -> CppBox<QConeGeometry>
[src]

Default constructs an instance of QConeGeometry.

Calls C++ function: [constructor] void Qt3DExtras::QConeGeometry::QConeGeometry(Qt3DCore::QNode* parent = …).

C++ documentation:

Default constructs an instance of QConeGeometry.

pub unsafe fn new_0a() -> CppBox<QConeGeometry>[src]

The QConeGeometry class allows creation of a cone in 3D space.

Calls C++ function: [constructor] void Qt3DExtras::QConeGeometry::QConeGeometry().

C++ documentation:

The QConeGeometry class allows creation of a cone in 3D space.

The QConeGeometry class is most commonly used internally by the QConeMesh but can also be used in custom Qt3DRender::QGeometryRenderer subclasses. The class allows for creation of both a cone and a truncated cone.

pub unsafe fn normal_attribute(&self) -> MutPtr<QAttribute>[src]

Holds the geometry normal attribute.

Calls C++ function: Qt3DRender::QAttribute* Qt3DExtras::QConeGeometry::normalAttribute() const.

C++ documentation:

Holds the geometry normal attribute.

Access functions:

Qt3DRender::QAttribute *normalAttribute() const

pub unsafe fn position_attribute(&self) -> MutPtr<QAttribute>[src]

Holds the geometry position attribute.

Calls C++ function: Qt3DRender::QAttribute* Qt3DExtras::QConeGeometry::positionAttribute() const.

C++ documentation:

Holds the geometry position attribute.

Access functions:

Qt3DRender::QAttribute *positionAttribute() const

pub unsafe fn qt_metacall(
    &mut self,
    arg1: Call,
    arg2: c_int,
    arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
[src]

Calls C++ function: virtual int Qt3DExtras::QConeGeometry::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3).

pub unsafe fn qt_metacast(
    &mut self,
    arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
[src]

Calls C++ function: virtual void* Qt3DExtras::QConeGeometry::qt_metacast(const char* arg1).

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

Holds the number of rings in the geometry.

Calls C++ function: int Qt3DExtras::QConeGeometry::rings() const.

C++ documentation:

Holds the number of rings in the geometry.

Access functions:

int rings() const
void setRings(int rings)

Notifier signal:

void ringsChanged(int rings)

pub unsafe fn set_bottom_radius(&mut self, bottom_radius: c_float)[src]

Holds the bottom radius of the cone.

Calls C++ function: [slot] void Qt3DExtras::QConeGeometry::setBottomRadius(float bottomRadius).

C++ documentation:

Holds the bottom radius of the cone.

Access functions:

float bottomRadius() const
void setBottomRadius(float bottomRadius)

Notifier signal:

void bottomRadiusChanged(float bottomRadius)

pub unsafe fn set_has_bottom_endcap(&mut self, has_bottom_endcap: bool)[src]

Determines if the cone bottom is capped or open.

Calls C++ function: [slot] void Qt3DExtras::QConeGeometry::setHasBottomEndcap(bool hasBottomEndcap).

C++ documentation:

Determines if the cone bottom is capped or open.

Access functions:

bool hasBottomEndcap() const
void setHasBottomEndcap(bool hasBottomEndcap)

Notifier signal:

void hasBottomEndcapChanged(bool hasBottomEndcap)

pub unsafe fn set_has_top_endcap(&mut self, has_top_endcap: bool)[src]

Determines if the cone top is capped or open.

Calls C++ function: [slot] void Qt3DExtras::QConeGeometry::setHasTopEndcap(bool hasTopEndcap).

C++ documentation:

Determines if the cone top is capped or open.

Access functions:

bool hasTopEndcap() const
void setHasTopEndcap(bool hasTopEndcap)

Notifier signal:

void hasTopEndcapChanged(bool hasTopEndcap)

pub unsafe fn set_length(&mut self, length: c_float)[src]

Holds the length of the cone.

Calls C++ function: [slot] void Qt3DExtras::QConeGeometry::setLength(float length).

C++ documentation:

Holds the length of the cone.

Access functions:

float length() const
void setLength(float length)

Notifier signal:

void lengthChanged(float length)

pub unsafe fn set_rings(&mut self, rings: c_int)[src]

Holds the number of rings in the geometry.

Calls C++ function: [slot] void Qt3DExtras::QConeGeometry::setRings(int rings).

C++ documentation:

Holds the number of rings in the geometry.

Access functions:

int rings() const
void setRings(int rings)

Notifier signal:

void ringsChanged(int rings)

pub unsafe fn set_slices(&mut self, slices: c_int)[src]

Holds the number of slices in the geometry.

Calls C++ function: [slot] void Qt3DExtras::QConeGeometry::setSlices(int slices).

C++ documentation:

Holds the number of slices in the geometry.

Access functions:

int slices() const
void setSlices(int slices)

Notifier signal:

void slicesChanged(int slices)

pub unsafe fn set_top_radius(&mut self, top_radius: c_float)[src]

Holds the top radius of the cone.

Calls C++ function: [slot] void Qt3DExtras::QConeGeometry::setTopRadius(float topRadius).

C++ documentation:

Holds the top radius of the cone.

Access functions:

float topRadius() const
void setTopRadius(float topRadius)

Notifier signal:

void topRadiusChanged(float topRadius)

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

Holds the number of slices in the geometry.

Calls C++ function: int Qt3DExtras::QConeGeometry::slices() const.

C++ documentation:

Holds the number of slices in the geometry.

Access functions:

int slices() const
void setSlices(int slices)

Notifier signal:

void slicesChanged(int slices)

pub unsafe fn static_meta_object() -> Ref<QMetaObject>[src]

Returns a reference to the staticMetaObject field.

pub unsafe fn tex_coord_attribute(&self) -> MutPtr<QAttribute>[src]

Holds the geometry texture coordinate attribute.

Calls C++ function: Qt3DRender::QAttribute* Qt3DExtras::QConeGeometry::texCoordAttribute() const.

C++ documentation:

Holds the geometry texture coordinate attribute.

Access functions:

Qt3DRender::QAttribute *texCoordAttribute() const

pub unsafe fn top_radius(&self) -> c_float[src]

Holds the top radius of the cone.

Calls C++ function: float Qt3DExtras::QConeGeometry::topRadius() const.

C++ documentation:

Holds the top radius of the cone.

Access functions:

float topRadius() const
void setTopRadius(float topRadius)

Notifier signal:

void topRadiusChanged(float topRadius)

pub unsafe fn tr(
    s: impl CastInto<Ptr<c_char>>,
    c: impl CastInto<Ptr<c_char>>,
    n: c_int
) -> CppBox<QString>
[src]

Calls C++ function: static QString Qt3DExtras::QConeGeometry::tr(const char* s, const char* c, int n).

pub unsafe fn tr_utf8(
    s: impl CastInto<Ptr<c_char>>,
    c: impl CastInto<Ptr<c_char>>,
    n: c_int
) -> CppBox<QString>
[src]

Calls C++ function: static QString Qt3DExtras::QConeGeometry::trUtf8(const char* s, const char* c, int n).

pub unsafe fn update_indices(&mut self)[src]

Updates indices based on geometry properties.

Calls C++ function: void Qt3DExtras::QConeGeometry::updateIndices().

C++ documentation:

Updates indices based on geometry properties.

pub unsafe fn update_vertices(&mut self)[src]

Updates vertices based on geometry properties.

Calls C++ function: void Qt3DExtras::QConeGeometry::updateVertices().

C++ documentation:

Updates vertices based on geometry properties.

Methods from Deref<Target = QGeometry>

pub fn slot_set_bounding_volume_position_attribute(
    &self
) -> Receiver<(*mut QAttribute,)>
[src]

Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.

Returns a built-in Qt slot Qt3DRender::QGeometry::setBoundingVolumePositionAttribute that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.

If unspecified, the system will look for the attribute using the name returned by QAttribute::defaultPositionAttributeName.

Access functions:

QAttribute *boundingVolumePositionAttribute() const
void setBoundingVolumePositionAttribute(QAttribute *boundingVolumePositionAttribute)

Notifier signal:

void boundingVolumePositionAttributeChanged(QAttribute *boundingVolumePositionAttribute)

See also Qt3DRender::QAttribute.

pub fn bounding_volume_position_attribute_changed(
    &self
) -> Signal<(*mut QAttribute,)>
[src]

Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.

Returns a built-in Qt signal Qt3DRender::QGeometry::boundingVolumePositionAttributeChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.

If unspecified, the system will look for the attribute using the name returned by QAttribute::defaultPositionAttributeName.

Access functions:

QAttribute *boundingVolumePositionAttribute() const
void setBoundingVolumePositionAttribute(QAttribute *boundingVolumePositionAttribute)

Notifier signal:

void boundingVolumePositionAttributeChanged(QAttribute *boundingVolumePositionAttribute)

See also Qt3DRender::QAttribute.

pub unsafe fn add_attribute(
    &mut self,
    attribute: impl CastInto<MutPtr<QAttribute>>
)
[src]

Adds an attribute to this geometry.

Calls C++ function: void Qt3DRender::QGeometry::addAttribute(Qt3DRender::QAttribute* attribute).

C++ documentation:

Adds an attribute to this geometry.

pub unsafe fn attributes(&self) -> CppBox<QVectorOfQAttribute>[src]

Returns the list of attributes in this geometry.

Calls C++ function: QVector<Qt3DRender::QAttribute*> Qt3DRender::QGeometry::attributes() const.

C++ documentation:

Returns the list of attributes in this geometry.

pub unsafe fn bounding_volume_position_attribute(&self) -> MutPtr<QAttribute>[src]

Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.

Calls C++ function: Qt3DRender::QAttribute* Qt3DRender::QGeometry::boundingVolumePositionAttribute() const.

C++ documentation:

Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.

If unspecified, the system will look for the attribute using the name returned by QAttribute::defaultPositionAttributeName.

Access functions:

QAttribute *boundingVolumePositionAttribute() const
void setBoundingVolumePositionAttribute(QAttribute *boundingVolumePositionAttribute)

Notifier signal:

void boundingVolumePositionAttributeChanged(QAttribute *boundingVolumePositionAttribute)

See also Qt3DRender::QAttribute.

pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>[src]

Calls C++ function: virtual const QMetaObject* Qt3DRender::QGeometry::metaObject() const.

pub unsafe fn qt_metacall(
    &mut self,
    arg1: Call,
    arg2: i32,
    arg3: impl CastInto<MutPtr<*mut c_void>>
) -> i32
[src]

Calls C++ function: virtual int Qt3DRender::QGeometry::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3).

pub unsafe fn qt_metacast(
    &mut self,
    arg1: impl CastInto<Ptr<i8>>
) -> MutPtr<c_void>
[src]

Calls C++ function: virtual void* Qt3DRender::QGeometry::qt_metacast(const char* arg1).

pub unsafe fn remove_attribute(
    &mut self,
    attribute: impl CastInto<MutPtr<QAttribute>>
)
[src]

Removes the given attribute from this geometry.

Calls C++ function: void Qt3DRender::QGeometry::removeAttribute(Qt3DRender::QAttribute* attribute).

C++ documentation:

Removes the given attribute from this geometry.

pub unsafe fn set_bounding_volume_position_attribute(
    &mut self,
    bounding_volume_position_attribute: impl CastInto<MutPtr<QAttribute>>
)
[src]

Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.

Calls C++ function: [slot] void Qt3DRender::QGeometry::setBoundingVolumePositionAttribute(Qt3DRender::QAttribute* boundingVolumePositionAttribute).

C++ documentation:

Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.

If unspecified, the system will look for the attribute using the name returned by QAttribute::defaultPositionAttributeName.

Access functions:

QAttribute *boundingVolumePositionAttribute() const
void setBoundingVolumePositionAttribute(QAttribute *boundingVolumePositionAttribute)

Notifier signal:

void boundingVolumePositionAttributeChanged(QAttribute *boundingVolumePositionAttribute)

See also Qt3DRender::QAttribute.

Trait Implementations

impl Deref for QConeGeometry[src]

type Target = QGeometry

The resulting type after dereferencing.

fn deref(&self) -> &QGeometry[src]

Calls C++ function: Qt3DRender::QGeometry* static_cast<Qt3DRender::QGeometry*>(Qt3DExtras::QConeGeometry* ptr).

impl DerefMut for QConeGeometry[src]

fn deref_mut(&mut self) -> &mut QGeometry[src]

Calls C++ function: Qt3DRender::QGeometry* static_cast<Qt3DRender::QGeometry*>(Qt3DExtras::QConeGeometry* ptr).

impl StaticUpcast<QGeometry> for QConeGeometry[src]

unsafe fn static_upcast(ptr: Ptr<QConeGeometry>) -> Ptr<QGeometry>[src]

Calls C++ function: Qt3DRender::QGeometry* static_cast<Qt3DRender::QGeometry*>(Qt3DExtras::QConeGeometry* ptr).

unsafe fn static_upcast_mut(ptr: MutPtr<QConeGeometry>) -> MutPtr<QGeometry>[src]

Calls C++ function: Qt3DRender::QGeometry* static_cast<Qt3DRender::QGeometry*>(Qt3DExtras::QConeGeometry* ptr).

impl StaticUpcast<QNode> for QConeGeometry[src]

unsafe fn static_upcast(ptr: Ptr<QConeGeometry>) -> Ptr<QNode>[src]

Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DExtras::QConeGeometry* ptr).

unsafe fn static_upcast_mut(ptr: MutPtr<QConeGeometry>) -> MutPtr<QNode>[src]

Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DExtras::QConeGeometry* ptr).

impl StaticUpcast<QObject> for QConeGeometry[src]

unsafe fn static_upcast(ptr: Ptr<QConeGeometry>) -> Ptr<QObject>[src]

Calls C++ function: QObject* static_cast<QObject*>(Qt3DExtras::QConeGeometry* ptr).

unsafe fn static_upcast_mut(ptr: MutPtr<QConeGeometry>) -> MutPtr<QObject>[src]

Calls C++ function: QObject* static_cast<QObject*>(Qt3DExtras::QConeGeometry* ptr).

impl StaticDowncast<QConeGeometry> for QGeometry[src]

unsafe fn static_downcast(ptr: Ptr<QGeometry>) -> Ptr<QConeGeometry>[src]

Calls C++ function: Qt3DExtras::QConeGeometry* static_cast<Qt3DExtras::QConeGeometry*>(Qt3DRender::QGeometry* ptr).

unsafe fn static_downcast_mut(ptr: MutPtr<QGeometry>) -> MutPtr<QConeGeometry>[src]

Calls C++ function: Qt3DExtras::QConeGeometry* static_cast<Qt3DExtras::QConeGeometry*>(Qt3DRender::QGeometry* ptr).

impl StaticDowncast<QConeGeometry> for QNode[src]

unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QConeGeometry>[src]

Calls C++ function: Qt3DExtras::QConeGeometry* static_cast<Qt3DExtras::QConeGeometry*>(Qt3DCore::QNode* ptr).

unsafe fn static_downcast_mut(ptr: MutPtr<QNode>) -> MutPtr<QConeGeometry>[src]

Calls C++ function: Qt3DExtras::QConeGeometry* static_cast<Qt3DExtras::QConeGeometry*>(Qt3DCore::QNode* ptr).

impl StaticDowncast<QConeGeometry> for QObject[src]

unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QConeGeometry>[src]

Calls C++ function: Qt3DExtras::QConeGeometry* static_cast<Qt3DExtras::QConeGeometry*>(QObject* ptr).

unsafe fn static_downcast_mut(ptr: MutPtr<QObject>) -> MutPtr<QConeGeometry>[src]

Calls C++ function: Qt3DExtras::QConeGeometry* static_cast<Qt3DExtras::QConeGeometry*>(QObject* ptr).

impl DynamicCast<QConeGeometry> for QGeometry[src]

unsafe fn dynamic_cast(ptr: Ptr<QGeometry>) -> Ptr<QConeGeometry>[src]

Calls C++ function: Qt3DExtras::QConeGeometry* dynamic_cast<Qt3DExtras::QConeGeometry*>(Qt3DRender::QGeometry* ptr).

unsafe fn dynamic_cast_mut(ptr: MutPtr<QGeometry>) -> MutPtr<QConeGeometry>[src]

Calls C++ function: Qt3DExtras::QConeGeometry* dynamic_cast<Qt3DExtras::QConeGeometry*>(Qt3DRender::QGeometry* ptr).

impl DynamicCast<QConeGeometry> for QNode[src]

unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QConeGeometry>[src]

Calls C++ function: Qt3DExtras::QConeGeometry* dynamic_cast<Qt3DExtras::QConeGeometry*>(Qt3DCore::QNode* ptr).

unsafe fn dynamic_cast_mut(ptr: MutPtr<QNode>) -> MutPtr<QConeGeometry>[src]

Calls C++ function: Qt3DExtras::QConeGeometry* dynamic_cast<Qt3DExtras::QConeGeometry*>(Qt3DCore::QNode* ptr).

impl DynamicCast<QConeGeometry> for QObject[src]

unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QConeGeometry>[src]

Calls C++ function: Qt3DExtras::QConeGeometry* dynamic_cast<Qt3DExtras::QConeGeometry*>(QObject* ptr).

unsafe fn dynamic_cast_mut(ptr: MutPtr<QObject>) -> MutPtr<QConeGeometry>[src]

Calls C++ function: Qt3DExtras::QConeGeometry* dynamic_cast<Qt3DExtras::QConeGeometry*>(QObject* ptr).

impl CppDeletable for QConeGeometry[src]

unsafe fn delete(&mut self)[src]

Calls C++ function: virtual [destructor] void Qt3DExtras::QConeGeometry::~QConeGeometry().

Auto Trait Implementations

Blanket Implementations

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

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

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

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

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]