[][src]Struct qt_gui::q_text_document::MetaInformation

#[repr(transparent)]
pub struct MetaInformation(_);

This enum describes the different types of meta information that can be added to a document.

C++ enum: QTextDocument::MetaInformation.

C++ documentation:

This enum describes the different types of meta information that can be added to a document.

See also metaInformation() and setMetaInformation().

Methods

impl MetaInformation[src]

pub fn to_int(&self) -> c_int[src]

impl MetaInformation[src]

pub const DocumentTitle: MetaInformation[src]

The title of the document. (C++ enum variant: DocumentTitle = 0)

pub const DocumentUrl: MetaInformation[src]

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

impl Clone for MetaInformation[src]

impl Copy for MetaInformation[src]

impl Debug for MetaInformation[src]

impl Eq for MetaInformation[src]

impl From<MetaInformation> for c_int[src]

impl From<i32> for MetaInformation[src]

impl PartialEq<MetaInformation> for MetaInformation[src]

impl StructuralEq for MetaInformation[src]

impl StructuralPartialEq for MetaInformation[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.