pub struct SpecifiedUrl(pub String);
Expand description
A specified url() value; should be resolved relative to the stylesheet containing it
Tuple Fields§
§0: String
Implementations§
Source§impl SpecifiedUrl
impl SpecifiedUrl
Sourcepub fn is_fragment(&self) -> bool
pub fn is_fragment(&self) -> bool
Trait Implementations§
Source§impl Clone for SpecifiedUrl
impl Clone for SpecifiedUrl
Source§fn clone(&self) -> SpecifiedUrl
fn clone(&self) -> SpecifiedUrl
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SpecifiedUrl
impl Debug for SpecifiedUrl
Source§impl Hash for SpecifiedUrl
impl Hash for SpecifiedUrl
Source§impl Ord for SpecifiedUrl
impl Ord for SpecifiedUrl
Source§fn cmp(&self, other: &SpecifiedUrl) -> Ordering
fn cmp(&self, other: &SpecifiedUrl) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SpecifiedUrl
impl PartialEq for SpecifiedUrl
Source§impl PartialOrd for SpecifiedUrl
impl PartialOrd for SpecifiedUrl
Source§impl ToCss for SpecifiedUrl
impl ToCss for SpecifiedUrl
impl Eq for SpecifiedUrl
impl StructuralPartialEq for SpecifiedUrl
Auto Trait Implementations§
impl Freeze for SpecifiedUrl
impl RefUnwindSafe for SpecifiedUrl
impl Send for SpecifiedUrl
impl Sync for SpecifiedUrl
impl Unpin for SpecifiedUrl
impl UnwindSafe for SpecifiedUrl
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