Struct graphs_tools::canonical::identity::exposed::IdentityWithName
source · [−]pub struct IdentityWithName(pub &'static str);
Expand description
Identify an instance by name.
Tuple Fields
0: &'static str
Implementations
Trait Implementations
sourceimpl Clone for IdentityWithName
impl Clone for IdentityWithName
sourcefn clone(&self) -> IdentityWithName
fn clone(&self) -> IdentityWithName
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 IdentityWithName
impl Debug for IdentityWithName
sourceimpl<Src> From<&'_ Src> for IdentityWithName where
Src: Clone,
IdentityWithName: From<Src>,
impl<Src> From<&'_ Src> for IdentityWithName where
Src: Clone,
IdentityWithName: From<Src>,
sourceimpl From<&'static str> for IdentityWithName
impl From<&'static str> for IdentityWithName
sourceimpl Hash for IdentityWithName
impl Hash for IdentityWithName
sourceimpl PartialEq<IdentityWithName> for IdentityWithName
impl PartialEq<IdentityWithName> for IdentityWithName
sourcefn eq(&self, other: &IdentityWithName) -> bool
fn eq(&self, other: &IdentityWithName) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &IdentityWithName) -> bool
fn ne(&self, other: &IdentityWithName) -> bool
This method tests for !=
.
impl Copy for IdentityWithName
impl Eq for IdentityWithName
impl StructuralEq for IdentityWithName
impl StructuralPartialEq for IdentityWithName
Auto Trait Implementations
impl RefUnwindSafe for IdentityWithName
impl Send for IdentityWithName
impl Sync for IdentityWithName
impl Unpin for IdentityWithName
impl UnwindSafe for IdentityWithName
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.