[−][src]Struct qt_3d_core::QNodeIdTypePair
C++ class: Qt3DCore::QNodeIdTypePair
.
Methods
impl QNodeIdTypePair
[src]
pub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QNodeIdTypePair>>
) -> Ref<QNodeIdTypePair>
[src]
&self,
other: impl CastInto<Ref<QNodeIdTypePair>>
) -> Ref<QNodeIdTypePair>
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(&self) -> Ref<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()
.
Default constructs an instance of QNodeIdTypePair.
pub unsafe fn new_2a(
id: impl CastInto<Ref<QNodeId>>,
type_: impl CastInto<Ptr<QMetaObject>>
) -> CppBox<QNodeIdTypePair>
[src]
id: impl CastInto<Ref<QNodeId>>,
type_: impl CastInto<Ptr<QMetaObject>>
) -> CppBox<QNodeIdTypePair>
Default constructs an instance of QNodeIdTypePair.
Calls C++ function: [constructor] void Qt3DCore::QNodeIdTypePair::QNodeIdTypePair(Qt3DCore::QNodeId _id, const QMetaObject* _type)
.
Default constructs an instance of QNodeIdTypePair.
pub unsafe fn new_copy(
other: impl CastInto<Ref<QNodeIdTypePair>>
) -> CppBox<QNodeIdTypePair>
[src]
other: impl CastInto<Ref<QNodeIdTypePair>>
) -> CppBox<QNodeIdTypePair>
Calls C++ function: [constructor] void Qt3DCore::QNodeIdTypePair::QNodeIdTypePair(const Qt3DCore::QNodeIdTypePair& other)
.
pub unsafe fn set_id(&self, value: impl CastInto<Ref<QNodeId>>)
[src]
Sets the value of the id
field.
pub unsafe fn set_type(&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]
Auto Trait Implementations
impl RefUnwindSafe for QNodeIdTypePair
impl Send for QNodeIdTypePair
impl Sync for QNodeIdTypePair
impl Unpin for QNodeIdTypePair
impl UnwindSafe for QNodeIdTypePair
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,