Struct servo_url::origin::OpaqueOrigin
source · pub struct OpaqueOrigin(Uuid);
Expand description
Opaque identifier for URLs that have file or other schemes
Tuple Fields§
§0: Uuid
Trait Implementations§
source§impl Clone for OpaqueOrigin
impl Clone for OpaqueOrigin
source§fn clone(&self) -> OpaqueOrigin
fn clone(&self) -> OpaqueOrigin
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 OpaqueOrigin
impl Debug for OpaqueOrigin
source§impl<'de> Deserialize<'de> for OpaqueOrigin
impl<'de> Deserialize<'de> for OpaqueOrigin
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for OpaqueOrigin
impl Hash for OpaqueOrigin
source§impl MallocSizeOf for OpaqueOrigin
impl MallocSizeOf for OpaqueOrigin
source§fn size_of(&self, _: &mut MallocSizeOfOps) -> usize
fn size_of(&self, _: &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 for OpaqueOrigin
impl PartialEq for OpaqueOrigin
source§fn eq(&self, other: &OpaqueOrigin) -> bool
fn eq(&self, other: &OpaqueOrigin) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for OpaqueOrigin
impl Serialize for OpaqueOrigin
impl Eq for OpaqueOrigin
impl StructuralPartialEq for OpaqueOrigin
Auto Trait Implementations§
impl Freeze for OpaqueOrigin
impl RefUnwindSafe for OpaqueOrigin
impl Send for OpaqueOrigin
impl Sync for OpaqueOrigin
impl Unpin for OpaqueOrigin
impl UnwindSafe for OpaqueOrigin
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 Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.