[−][src]Struct dominator::Url
Methods
impl Url
[src]
pub fn new(url: &str) -> Self
[src]
pub fn hash(&self) -> String
[src]
pub fn set_hash(&self, hash: &str)
[src]
pub fn host(&self) -> String
[src]
pub fn set_host(&self, host: &str)
[src]
pub fn hostname(&self) -> String
[src]
pub fn set_hostname(&self, hostname: &str)
[src]
pub fn href(&self) -> String
[src]
pub fn set_href(&self, href: &str)
[src]
pub fn origin(&self) -> String
[src]
pub fn password(&self) -> String
[src]
pub fn set_password(&self, password: &str)
[src]
pub fn pathname(&self) -> String
[src]
pub fn set_pathname(&self, pathname: &str)
[src]
pub fn port(&self) -> String
[src]
pub fn set_port(&self, port: &str)
[src]
pub fn protocol(&self) -> String
[src]
pub fn set_protocol(&self, protocol: &str)
[src]
pub fn search(&self) -> String
[src]
pub fn set_search(&self, search: &str)
[src]
pub fn username(&self) -> String
[src]
pub fn set_username(&self, username: &str)
[src]
Trait Implementations
impl AsRef<Reference> for Url
[src]
impl PartialEq<Url> for Url
[src]
impl From<Url> for Reference
[src]
impl Clone for Url
[src]
fn clone(&self) -> Url
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for Url
[src]
impl Display for Url
[src]
impl Debug for Url
[src]
impl TryFrom<Url> for Reference
[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(value: Url) -> Result<Self, Self::Error>
[src]
impl TryFrom<Reference> for Url
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(reference: Reference) -> Result<Self, Self::Error>
[src]
impl<'_r> TryFrom<&'_r Reference> for Url
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(reference: &Reference) -> Result<Self, Self::Error>
[src]
impl TryFrom<Value> for Url
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>
[src]
impl<'_r> TryFrom<&'_r Value> for Url
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>
[src]
impl InstanceOf for Url
[src]
fn instance_of(reference: &Reference) -> bool
[src]
impl JsSerialize for Url
[src]
impl ReferenceType for Url
[src]
unsafe fn from_reference_unchecked(reference: Reference) -> Self
[src]
impl JsSerializeOwned for Url
[src]
fn into_js_owned<'_a>(value: &'_a mut Option<Self>) -> SerializedValue<'_a>
[src]
impl<'_r> JsSerializeOwned for &'_r Url
[src]
fn into_js_owned<'_a>(value: &'_a mut Option<Self>) -> SerializedValue<'_a>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,