#[repr(C)]pub struct QUrl { /* private fields */ }
Expand description
Wrapper around QUrl
class.
Implementations
sourceimpl QUrl
impl QUrl
sourcepub fn from_user_input(user_input: QString) -> QUrl
pub fn from_user_input(user_input: QString) -> QUrl
Wrapper around QUrl::fromUserInput(const QString &userInput)
static method.
Trait Implementations
sourceimpl From<QUrl> for QString
impl From<QUrl> for QString
sourcefn from(qurl: QUrl) -> QString
fn from(qurl: QUrl) -> QString
Wrapper around QUrl::toString(QUrl::FormattingOptions=...)
method.
Wrapper-specific
Formatting options are left at defaults.
sourceimpl From<QUrl> for QVariant
impl From<QUrl> for QVariant
sourcefn from(a: QUrl) -> QVariant
fn from(a: QUrl) -> QVariant
Wrapper around QVariant(const QUrl &)
constructor.
sourceimpl Ord for QUrl
impl Ord for QUrl
sourceimpl PartialOrd<QUrl> for QUrl
impl PartialOrd<QUrl> for QUrl
sourcefn lt(&self, other: &QUrl) -> bool
fn lt(&self, other: &QUrl) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn gt(&self, other: &QUrl) -> bool
fn gt(&self, other: &QUrl) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
sourcefn le(&self, other: &QUrl) -> bool
fn le(&self, other: &QUrl) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Eq for QUrl
impl StructuralEq for QUrl
Auto Trait Implementations
impl RefUnwindSafe for QUrl
impl Send for QUrl
impl Sync for QUrl
impl Unpin for QUrl
impl UnwindSafe for QUrl
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more