Struct style::stylesheets::UrlExtraData
source · pub struct UrlExtraData(pub Arc<Url>);
Expand description
Extra data that the backend may need to resolve url values.
Tuple Fields§
§0: Arc<Url>
Implementations§
source§impl UrlExtraData
impl UrlExtraData
Trait Implementations§
source§impl Clone for UrlExtraData
impl Clone for UrlExtraData
source§fn clone(&self) -> UrlExtraData
fn clone(&self) -> UrlExtraData
Returns a copy 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 UrlExtraData
impl Debug for UrlExtraData
source§impl From<Url> for UrlExtraData
impl From<Url> for UrlExtraData
source§impl MallocSizeOf for UrlExtraData
impl MallocSizeOf for UrlExtraData
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
source§impl PartialEq<UrlExtraData> for UrlExtraData
impl PartialEq<UrlExtraData> for UrlExtraData
source§fn eq(&self, other: &UrlExtraData) -> bool
fn eq(&self, other: &UrlExtraData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToShmem for UrlExtraData
impl ToShmem for UrlExtraData
impl Eq for UrlExtraData
impl StructuralEq for UrlExtraData
impl StructuralPartialEq for UrlExtraData
Auto Trait Implementations§
impl RefUnwindSafe for UrlExtraData
impl Send for UrlExtraData
impl Sync for UrlExtraData
impl Unpin for UrlExtraData
impl UnwindSafe for UrlExtraData
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>where
F: FnOnce(&Self) -> bool,
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>where F: FnOnce(&Self) -> bool,
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
source§fn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert