Enum calyx_opt::analysis::reaching_defns::GroupOrInvoke
source · [−]Expand description
A wrapper enum to distinguish between Ids that come from groups and ids that were fabricated during the analysis for individual invoke statements. This prevents attempting to look up the ids used for the invoke statements as there will be no corresponding group.
Variants
Group(Id)
Invoke(Id)
Trait Implementations
sourceimpl Clone for GroupOrInvoke
impl Clone for GroupOrInvoke
sourcefn clone(&self) -> GroupOrInvoke
fn clone(&self) -> GroupOrInvoke
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 moresourceimpl Debug for GroupOrInvoke
impl Debug for GroupOrInvoke
sourceimpl Hash for GroupOrInvoke
impl Hash for GroupOrInvoke
sourceimpl Into<Id> for GroupOrInvoke
impl Into<Id> for GroupOrInvoke
sourceimpl Ord for GroupOrInvoke
impl Ord for GroupOrInvoke
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<GroupOrInvoke> for GroupOrInvoke
impl PartialEq<GroupOrInvoke> for GroupOrInvoke
sourcefn eq(&self, other: &GroupOrInvoke) -> bool
fn eq(&self, other: &GroupOrInvoke) -> bool
sourceimpl PartialOrd<GroupOrInvoke> for GroupOrInvoke
impl PartialOrd<GroupOrInvoke> for GroupOrInvoke
sourcefn partial_cmp(&self, other: &Self) -> Option<Ordering>
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for GroupOrInvoke
impl StructuralEq for GroupOrInvoke
impl StructuralPartialEq for GroupOrInvoke
Auto Trait Implementations
impl RefUnwindSafe for GroupOrInvoke
impl Send for GroupOrInvoke
impl Sync for GroupOrInvoke
impl Unpin for GroupOrInvoke
impl UnwindSafe for GroupOrInvoke
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
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,
fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
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,
fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.