pub enum GenericFunctionWithBodyId {
Free(FreeFunctionId),
Impl(ConcreteImplGenericFunctionId),
}
Expand description
The ID of a generic function with body that can be concretized.
Variants§
Free(FreeFunctionId)
Impl(ConcreteImplGenericFunctionId)
Trait Implementations§
source§impl Clone for GenericFunctionWithBodyId
impl Clone for GenericFunctionWithBodyId
source§fn clone(&self) -> GenericFunctionWithBodyId
fn clone(&self) -> GenericFunctionWithBodyId
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 GenericFunctionWithBodyId
impl Debug for GenericFunctionWithBodyId
source§impl From<GenericFunctionWithBodyId> for GenericFunctionId
impl From<GenericFunctionWithBodyId> for GenericFunctionId
source§fn from(val: GenericFunctionWithBodyId) -> Self
fn from(val: GenericFunctionWithBodyId) -> Self
Converts to this type from the input type.
source§impl Hash for GenericFunctionWithBodyId
impl Hash for GenericFunctionWithBodyId
source§impl OptionFrom<GenericFunctionId> for GenericFunctionWithBodyId
impl OptionFrom<GenericFunctionId> for GenericFunctionWithBodyId
fn option_from(other: GenericFunctionId) -> Option<Self>
source§impl PartialEq<GenericFunctionWithBodyId> for GenericFunctionWithBodyId
impl PartialEq<GenericFunctionWithBodyId> for GenericFunctionWithBodyId
source§fn eq(&self, other: &GenericFunctionWithBodyId) -> bool
fn eq(&self, other: &GenericFunctionWithBodyId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GenericFunctionWithBodyId
impl Eq for GenericFunctionWithBodyId
impl StructuralEq for GenericFunctionWithBodyId
impl StructuralPartialEq for GenericFunctionWithBodyId
Auto Trait Implementations§
impl RefUnwindSafe for GenericFunctionWithBodyId
impl Send for GenericFunctionWithBodyId
impl Sync for GenericFunctionWithBodyId
impl Unpin for GenericFunctionWithBodyId
impl UnwindSafe for GenericFunctionWithBodyId
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.