[][src]Struct qt_3d_core::QNodeIdTypePair

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

C++ class: Qt3DCore::QNodeIdTypePair.

Methods

impl QNodeIdTypePair[src]

pub unsafe fn copy_from(
    &mut self,
    other: impl CastInto<Ref<QNodeIdTypePair>>
) -> MutRef<QNodeIdTypePair>
[src]

Calls C++ function: Qt3DCore::QNodeIdTypePair& Qt3DCore::QNodeIdTypePair::operator=(const Qt3DCore::QNodeIdTypePair& other).

pub unsafe fn id(&self) -> Ref<QNodeId>[src]

Returns a reference to the id field.

pub unsafe fn id_mut(&mut self) -> MutRef<QNodeId>[src]

Returns a mutable reference to the id field.

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

Default constructs an instance of QNodeIdTypePair.

Calls C++ function: [constructor] void Qt3DCore::QNodeIdTypePair::QNodeIdTypePair().

C++ documentation:

Default constructs an instance of QNodeIdTypePair.

pub unsafe fn new_2a(
    id: impl CastInto<Ref<QNodeId>>,
    type_: impl CastInto<Ptr<QMetaObject>>
) -> CppBox<QNodeIdTypePair>
[src]

Default constructs an instance of QNodeIdTypePair.

Calls C++ function: [constructor] void Qt3DCore::QNodeIdTypePair::QNodeIdTypePair(Qt3DCore::QNodeId _id, const QMetaObject* _type).

C++ documentation:

Default constructs an instance of QNodeIdTypePair.

pub unsafe fn new_copy(
    other: impl CastInto<Ref<QNodeIdTypePair>>
) -> CppBox<QNodeIdTypePair>
[src]

Calls C++ function: [constructor] void Qt3DCore::QNodeIdTypePair::QNodeIdTypePair(const Qt3DCore::QNodeIdTypePair& other).

pub unsafe fn set_id(&mut self, value: impl CastInto<Ref<QNodeId>>)[src]

Sets the value of the id field.

pub unsafe fn set_type(&mut self, value: impl CastInto<Ptr<QMetaObject>>)[src]

Sets the value of the type field.

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

Returns the value of the type field.

Trait Implementations

impl CppDeletable for QNodeIdTypePair[src]

unsafe fn delete(&mut self)[src]

Calls C++ function: [destructor] void Qt3DCore::QNodeIdTypePair::~QNodeIdTypePair().

Auto Trait Implementations

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, 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.