[][src]Struct qt_core::QMetaClassInfo

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

The QMetaClassInfo class provides additional information about a class.

C++ class: QMetaClassInfo.

C++ documentation:

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(
    &mut self,
    other: impl CastInto<Ref<QMetaClassInfo>>
) -> MutRef<QMetaClassInfo>
[src]

The QMetaClassInfo class provides additional information about a class.

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

C++ documentation:

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) -> Ptr<c_char>[src]

Returns the name of this item.

Calls C++ function: const char* QMetaClassInfo::name() const.

C++ documentation:

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]

The QMetaClassInfo class provides additional information about a class.

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

C++ documentation:

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) -> Ptr<c_char>[src]

Returns the value of this item.

Calls C++ function: const char* QMetaClassInfo::value() const.

C++ documentation:

Returns the value of this item.

See also name().

Trait Implementations

impl CppDeletable for QMetaClassInfo[src]

unsafe fn delete(&mut self)[src]

The QMetaClassInfo class provides additional information about a class.

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

C++ documentation:

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

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]