Struct selectors::OpaqueElement [−][src]
pub struct OpaqueElement(_);
Opaque representation of an Element, for identity comparisons. We use NonZeroPtrMut to get the NonZero optimization.
Methods
impl OpaqueElement
[src]
impl OpaqueElement
pub fn new<T>(ptr: *const T) -> Self
[src]
pub fn new<T>(ptr: *const T) -> Self
Creates a new OpaqueElement from an arbitrarily-typed pointer.
Trait Implementations
impl Clone for OpaqueElement
[src]
impl Clone for OpaqueElement
fn clone(&self) -> OpaqueElement
[src]
fn clone(&self) -> OpaqueElement
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for OpaqueElement
[src]
impl Debug for OpaqueElement
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for OpaqueElement
[src]
impl Eq for OpaqueElement
impl Hash for OpaqueElement
[src]
impl Hash for OpaqueElement
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for OpaqueElement
[src]
impl PartialEq for OpaqueElement
fn eq(&self, other: &OpaqueElement) -> bool
[src]
fn eq(&self, other: &OpaqueElement) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &OpaqueElement) -> bool
[src]
fn ne(&self, other: &OpaqueElement) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for OpaqueElement
impl Send for OpaqueElement
impl Sync for OpaqueElement
impl Sync for OpaqueElement