Struct cxx_qt_lib::QUrl
source · [−]pub struct QUrl { /* private fields */ }
Expand description
The Rust representation of Qt’s QUrl
Internally this holds a UniquePtr to a QUrlCpp which has been constructed on the C++ side.
Implementations
Trait Implementations
sourceimpl FromStr for QUrl
impl FromStr for QUrl
sourcefn from_str(string: &str) -> Result<Self, Infallible>
fn from_str(string: &str) -> Result<Self, Infallible>
Constructs a URL by parsing the given string.
type Err = Infallible
type Err = Infallible
The associated error which can be returned from parsing.
sourceimpl ToUniquePtr for QUrl
impl ToUniquePtr for QUrl
sourcefn to_unique_ptr(self) -> UniquePtr<QUrlCpp>
fn to_unique_ptr(self) -> UniquePtr<QUrlCpp>
Retrieve the UniquePtr to the Qt QUrlCpp of this Rust QUrl so that this object can be passed back to C++.
type CppType = 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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more