Struct qt_gui::q_text_document::MetaInformation
source · pub struct MetaInformation(/* private fields */);
Expand description
This enum describes the different types of meta information that can be added to a document.
C++ enum: QTextDocument::MetaInformation
.
This enum describes the different types of meta information that can be added to a document.
See also metaInformation() and setMetaInformation().
Implementations§
source§impl MetaInformation
impl MetaInformation
sourcepub const DocumentTitle: MetaInformation = _
pub const DocumentTitle: MetaInformation = _
The title of the document. (C++ enum variant: DocumentTitle = 0
)
sourcepub const DocumentUrl: MetaInformation = _
pub const DocumentUrl: MetaInformation = _
The url of the document. The loadResource() function uses this url as the base when loading relative resources. (C++ enum variant: DocumentUrl = 1
)
Trait Implementations§
source§impl Clone for MetaInformation
impl Clone for MetaInformation
source§fn clone(&self) -> MetaInformation
fn clone(&self) -> MetaInformation
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 MetaInformation
impl Debug for MetaInformation
source§impl From<MetaInformation> for c_int
impl From<MetaInformation> for c_int
source§fn from(value: MetaInformation) -> Self
fn from(value: MetaInformation) -> Self
Converts to this type from the input type.
source§impl From<i32> for MetaInformation
impl From<i32> for MetaInformation
source§impl PartialEq for MetaInformation
impl PartialEq for MetaInformation
source§fn eq(&self, other: &MetaInformation) -> bool
fn eq(&self, other: &MetaInformation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MetaInformation
impl Eq for MetaInformation
impl StructuralEq for MetaInformation
impl StructuralPartialEq for MetaInformation
Auto Trait Implementations§
impl RefUnwindSafe for MetaInformation
impl Send for MetaInformation
impl Sync for MetaInformation
impl Unpin for MetaInformation
impl UnwindSafe for MetaInformation
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