#[repr(C)]
pub struct QUrl { /* private fields */ }
Expand description

The QUrl class provides a convenient interface for working with URLs.

Implementations

Returns a QString representation of the URL.

Trait Implementations

Constructs a copy of other.

Performs copy-assignment from source. Read more

Constructs an empty QUrl object.

Convert the QUrl to a Rust string

Note that this converts from UTF-16 to UTF-8

Destructor; called immediately before the object is deleted.

A type-level representation of the type’s C++ namespace and type name. Read more

Constructs a QUrl from a QString

Constructs a QVariant from a reference of $typeName

Constructs a QUrl from a Rust string

Note that this converts from UTF-8 to UTF-16

Constructs a QUrl from a Rust string

Note that this converts from UTF-8 to UTF-16

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.