Struct wautomata::canonical::IdentityWithPointer
source · [−]pub struct IdentityWithPointer(_);
Expand description
Identify an instance by its location in memory.
Implementations
sourceimpl IdentityWithPointer
impl IdentityWithPointer
sourcepub fn make<T>(src: &T) -> IdentityWithPointer
pub fn make<T>(src: &T) -> IdentityWithPointer
Construct from an arbitrary reference.
Trait Implementations
sourceimpl Clone for IdentityWithPointer
impl Clone for IdentityWithPointer
sourcefn clone(&self) -> IdentityWithPointer
fn clone(&self) -> IdentityWithPointer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for IdentityWithPointer
impl Debug for IdentityWithPointer
sourceimpl Default for IdentityWithPointer
impl Default for IdentityWithPointer
sourcefn default() -> IdentityWithPointer
fn default() -> IdentityWithPointer
Returns the “default value” for a type. Read more
sourceimpl<'a, T> From<&'a T> for IdentityWithPointer
impl<'a, T> From<&'a T> for IdentityWithPointer
sourcefn from(src: &'a T) -> IdentityWithPointer
fn from(src: &'a T) -> IdentityWithPointer
Converts to this type from the input type.
sourceimpl Hash for IdentityWithPointer
impl Hash for IdentityWithPointer
sourceimpl PartialEq<IdentityWithPointer> for IdentityWithPointer
impl PartialEq<IdentityWithPointer> for IdentityWithPointer
sourcefn eq(&self, other: &IdentityWithPointer) -> bool
fn eq(&self, other: &IdentityWithPointer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &IdentityWithPointer) -> bool
fn ne(&self, other: &IdentityWithPointer) -> bool
This method tests for !=
.
impl Copy for IdentityWithPointer
impl Eq for IdentityWithPointer
impl StructuralEq for IdentityWithPointer
impl StructuralPartialEq for IdentityWithPointer
Auto Trait Implementations
impl RefUnwindSafe for IdentityWithPointer
impl Send for IdentityWithPointer
impl Sync for IdentityWithPointer
impl Unpin for IdentityWithPointer
impl UnwindSafe for IdentityWithPointer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
sourceimpl<Target, Original> VectorizedInto<Target> for Original where
Target: VectorizedFrom<Original>,
impl<Target, Original> VectorizedInto<Target> for Original where
Target: VectorizedFrom<Original>,
sourcefn vectorized_into(self) -> Target
fn vectorized_into(self) -> Target
Performs the conversion.