Struct cxx_qt_gen::QmlElementMetadata
source · pub struct QmlElementMetadata {
pub name: String,
pub uncreatable: bool,
pub singleton: bool,
}
Expand description
Metadata for registering QML element
Fields§
§name: String
§uncreatable: bool
§singleton: bool
Trait Implementations§
source§impl Clone for QmlElementMetadata
impl Clone for QmlElementMetadata
source§fn clone(&self) -> QmlElementMetadata
fn clone(&self) -> QmlElementMetadata
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for QmlElementMetadata
impl Debug for QmlElementMetadata
source§impl Default for QmlElementMetadata
impl Default for QmlElementMetadata
source§fn default() -> QmlElementMetadata
fn default() -> QmlElementMetadata
Returns the “default value” for a type. Read more
source§impl PartialEq for QmlElementMetadata
impl PartialEq for QmlElementMetadata
source§fn eq(&self, other: &QmlElementMetadata) -> bool
fn eq(&self, other: &QmlElementMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for QmlElementMetadata
impl StructuralEq for QmlElementMetadata
impl StructuralPartialEq for QmlElementMetadata
Auto Trait Implementations§
impl RefUnwindSafe for QmlElementMetadata
impl Send for QmlElementMetadata
impl Sync for QmlElementMetadata
impl Unpin for QmlElementMetadata
impl UnwindSafe for QmlElementMetadata
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more