pub struct URI(/* private fields */);
Implementations§
Source§impl URI
impl URI
pub fn new(uri_string: Option<&str>) -> Option<URI>
pub fn with_base(base: &mut URI, uri_string: &str) -> URI
pub fn copy_host(&mut self) -> Option<URI>
pub fn fragment(&mut self) -> Option<GString>
pub fn host(&mut self) -> Option<GString>
pub fn password(&mut self) -> Option<GString>
pub fn path(&mut self) -> Option<GString>
pub fn port(&mut self) -> u32
pub fn query(&mut self) -> Option<GString>
pub fn scheme(&mut self) -> Option<GString>
pub fn user(&mut self) -> Option<GString>
pub fn set_fragment(&mut self, fragment: Option<&str>)
pub fn set_host(&mut self, host: Option<&str>)
pub fn set_password(&mut self, password: Option<&str>)
pub fn set_path(&mut self, path: &str)
pub fn set_port(&mut self, port: u32)
pub fn set_query(&mut self, query: Option<&str>)
pub fn set_scheme(&mut self, scheme: &str)
pub fn set_user(&mut self, user: Option<&str>)
pub fn to_string(&mut self, just_path_and_query: bool) -> Option<GString>
pub fn uses_default_port(&mut self) -> bool
pub fn decode(part: &str) -> Option<GString>
pub fn encode(part: &str, escape_extra: Option<&str>) -> Option<GString>
pub fn normalize(part: &str, unescape_extra: Option<&str>) -> Option<GString>
Trait Implementations§
Source§impl Ord for URI
impl Ord for URI
Source§impl PartialOrd for URI
impl PartialOrd for URI
Source§impl StaticType for URI
impl StaticType for URI
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Eq for URI
impl StructuralPartialEq for URI
Auto Trait Implementations§
impl Freeze for URI
impl RefUnwindSafe for URI
impl !Send for URI
impl !Sync for URI
impl Unpin for URI
impl UnwindSafe for URI
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