pub struct WebUrl { /* private fields */ }
Expand description
Implementations§
Source§impl WebUrl
Fragment
impl WebUrl
Fragment
Sourcepub fn set_fragment(&mut self, fragment: Fragment<'_>)
pub fn set_fragment(&mut self, fragment: Fragment<'_>)
Sets the fragment
.
Sourcepub fn with_fragment(self, fragment: Fragment<'_>) -> Self
pub fn with_fragment(self, fragment: Fragment<'_>) -> Self
Sets the fragment
.
Sourcepub fn clear_fragment(&mut self)
pub fn clear_fragment(&mut self)
Clears the fragment.
Sourcepub fn with_cleared_fragment(self) -> Self
pub fn with_cleared_fragment(self) -> Self
Clears the fragment.
Source§impl WebUrl
Query
impl WebUrl
Query
Sourcepub fn clear_query(&mut self)
pub fn clear_query(&mut self)
Clears the query.
Sourcepub fn with_cleared_query(self) -> Self
pub fn with_cleared_query(self) -> Self
Clears the query.
Trait Implementations§
Source§impl Ord for WebUrl
impl Ord for WebUrl
Source§impl PartialOrd for WebUrl
impl PartialOrd for WebUrl
impl Eq for WebUrl
Auto Trait Implementations§
impl Freeze for WebUrl
impl RefUnwindSafe for WebUrl
impl Send for WebUrl
impl Sync for WebUrl
impl Unpin for WebUrl
impl UnwindSafe for WebUrl
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