[−][src]Struct qt_core::QMetaClassInfo
The QMetaClassInfo class provides additional information about a class.
C++ class: QMetaClassInfo
.
The QMetaClassInfo class provides additional information about a class.
Class information items are simple name--value pairs that are specified using Q_CLASSINFO() in the source code. The information can be retrieved using name() and value(). For example:
class MyClass { Q_OBJECT Q_CLASSINFO("author", "Sabrina Schweinsteiger") Q_CLASSINFO("url", "http://doc.moosesoft.co.uk/1.0/")
public: ... };
This mechanism is free for you to use in your Qt applications. Qt doesn't use it for any of its classes.
Methods
impl QMetaClassInfo
[src]
pub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QMetaClassInfo>>
) -> Ref<QMetaClassInfo>
[src]
&self,
other: impl CastInto<Ref<QMetaClassInfo>>
) -> Ref<QMetaClassInfo>
The QMetaClassInfo class provides additional information about a class.
Calls C++ function: QMetaClassInfo& QMetaClassInfo::operator=(const QMetaClassInfo& other)
.
The QMetaClassInfo class provides additional information about a class.
Class information items are simple name--value pairs that are specified using Q_CLASSINFO() in the source code. The information can be retrieved using name() and value(). For example:
class MyClass { Q_OBJECT Q_CLASSINFO("author", "Sabrina Schweinsteiger") Q_CLASSINFO("url", "http://doc.moosesoft.co.uk/1.0/")
public: ... };
This mechanism is free for you to use in your Qt applications. Qt doesn't use it for any of its classes.
pub unsafe fn enclosing_meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: const QMetaObject* QMetaClassInfo::enclosingMetaObject() const
.
pub unsafe fn name(&self) -> *const c_char
[src]
Returns the name of this item.
Calls C++ function: const char* QMetaClassInfo::name() const
.
Returns the name of this item.
See also value().
pub unsafe fn new() -> CppBox<QMetaClassInfo>
[src]
Calls C++ function: [constructor] void QMetaClassInfo::QMetaClassInfo()
.
pub unsafe fn new_copy(
other: impl CastInto<Ref<QMetaClassInfo>>
) -> CppBox<QMetaClassInfo>
[src]
other: impl CastInto<Ref<QMetaClassInfo>>
) -> CppBox<QMetaClassInfo>
The QMetaClassInfo class provides additional information about a class.
Calls C++ function: [constructor] void QMetaClassInfo::QMetaClassInfo(const QMetaClassInfo& other)
.
The QMetaClassInfo class provides additional information about a class.
Class information items are simple name--value pairs that are specified using Q_CLASSINFO() in the source code. The information can be retrieved using name() and value(). For example:
class MyClass { Q_OBJECT Q_CLASSINFO("author", "Sabrina Schweinsteiger") Q_CLASSINFO("url", "http://doc.moosesoft.co.uk/1.0/")
public: ... };
This mechanism is free for you to use in your Qt applications. Qt doesn't use it for any of its classes.
pub unsafe fn value(&self) -> *const c_char
[src]
Returns the value of this item.
Calls C++ function: const char* QMetaClassInfo::value() const
.
Returns the value of this item.
See also name().
Trait Implementations
impl CppDeletable for QMetaClassInfo
[src]
unsafe fn delete(&self)
[src]
The QMetaClassInfo class provides additional information about a class.
Calls C++ function: [destructor] void QMetaClassInfo::~QMetaClassInfo()
.
The QMetaClassInfo class provides additional information about a class.
Class information items are simple name--value pairs that are specified using Q_CLASSINFO() in the source code. The information can be retrieved using name() and value(). For example:
class MyClass { Q_OBJECT Q_CLASSINFO("author", "Sabrina Schweinsteiger") Q_CLASSINFO("url", "http://doc.moosesoft.co.uk/1.0/")
public: ... };
This mechanism is free for you to use in your Qt applications. Qt doesn't use it for any of its classes.
Auto Trait Implementations
impl RefUnwindSafe for QMetaClassInfo
impl Send for QMetaClassInfo
impl Sync for QMetaClassInfo
impl Unpin for QMetaClassInfo
impl UnwindSafe for QMetaClassInfo
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>,