Struct graphs_tools::canonical::identity::exposed::IdentityWithInt
source · [−]pub struct IdentityWithInt(pub isize);
Expand description
Identify an instance by integer.
Tuple Fields
0: isize
Methods from Deref<Target = isize>
Trait Implementations
sourceimpl Clone for IdentityWithInt
impl Clone for IdentityWithInt
sourcefn clone(&self) -> IdentityWithInt
fn clone(&self) -> IdentityWithInt
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 CloneAsArray<isize, 1_usize> for IdentityWithInt where
isize: Clone,
impl CloneAsArray<isize, 1_usize> for IdentityWithInt where
isize: Clone,
sourcefn clone_as_array(&self) -> [isize; 1]
fn clone_as_array(&self) -> [isize; 1]
Clone as array.
sourceimpl CloneAsTuple<(isize,)> for IdentityWithInt where
isize: Clone,
impl CloneAsTuple<(isize,)> for IdentityWithInt where
isize: Clone,
sourcefn clone_as_tuple(&self) -> (isize,)
fn clone_as_tuple(&self) -> (isize,)
Clone as tuple.
sourceimpl Debug for IdentityWithInt
impl Debug for IdentityWithInt
sourceimpl Default for IdentityWithInt
impl Default for IdentityWithInt
sourceimpl Deref for IdentityWithInt
impl Deref for IdentityWithInt
sourceimpl DerefMut for IdentityWithInt
impl DerefMut for IdentityWithInt
sourceimpl<__FromRef> From<&'_ __FromRef> for IdentityWithInt where
__FromRef: Clone,
Self: From<__FromRef>,
impl<__FromRef> From<&'_ __FromRef> for IdentityWithInt where
__FromRef: Clone,
Self: From<__FromRef>,
sourceimpl From<IdentityWithInt> for isize
impl From<IdentityWithInt> for isize
sourcefn from(src: IdentityWithInt) -> Self
fn from(src: IdentityWithInt) -> Self
Converts to this type from the input type.
sourceimpl From<isize> for IdentityWithInt
impl From<isize> for IdentityWithInt
sourceimpl Hash for IdentityWithInt
impl Hash for IdentityWithInt
sourceimpl Make1<isize> for IdentityWithInt
impl Make1<isize> for IdentityWithInt
sourceimpl PartialEq<IdentityWithInt> for IdentityWithInt
impl PartialEq<IdentityWithInt> for IdentityWithInt
sourcefn eq(&self, other: &IdentityWithInt) -> bool
fn eq(&self, other: &IdentityWithInt) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &IdentityWithInt) -> bool
fn ne(&self, other: &IdentityWithInt) -> bool
This method tests for !=
.
impl Copy for IdentityWithInt
impl Eq for IdentityWithInt
impl StructuralEq for IdentityWithInt
impl StructuralPartialEq for IdentityWithInt
Auto Trait Implementations
impl RefUnwindSafe for IdentityWithInt
impl Send for IdentityWithInt
impl Sync for IdentityWithInt
impl Unpin for IdentityWithInt
impl UnwindSafe for IdentityWithInt
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.