Enum style::values::computed::ComputedUrl
[−]
[src]
pub enum ComputedUrl { Invalid(Arc<String>), Valid(ServoUrl), }
The computed value of a CSS url()
, resolved relative to the stylesheet URL.
Variants
Invalid(Arc<String>)
The url()
was invalid or it wasn't specified by the user.
Valid(ServoUrl)
The resolved url()
relative to the stylesheet URL.
Methods
impl ComputedUrl
[src]
Trait Implementations
impl AnimatedValueAsComputed for ComputedUrl
[src]
impl Clone for ComputedUrl
[src]
fn clone(&self) -> ComputedUrl
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for ComputedUrl
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl MallocSizeOf for ComputedUrl
[src]
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
[src]
Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more
impl PartialEq for ComputedUrl
[src]
fn eq(&self, __arg_0: &ComputedUrl) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ComputedUrl) -> bool
[src]
This method tests for !=
.