Enum spirt::cfg::DeferredTarget
source · enum DeferredTarget {
Region(ControlRegion),
Return,
}
Expand description
A target for one of the edge bundles in a DeferredEdgeBundleSet
, mostly
separate from ControlRegion
to allow expressing returns as well.
Variants§
Region(ControlRegion)
Return
Structured “return” out of the function (with target_inputs
used for
the function body output
s, i.e. inputs of ControlInstKind::Return
).
Trait Implementations§
source§impl Clone for DeferredTarget
impl Clone for DeferredTarget
source§fn clone(&self) -> DeferredTarget
fn clone(&self) -> DeferredTarget
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 Hash for DeferredTarget
impl Hash for DeferredTarget
source§impl PartialEq for DeferredTarget
impl PartialEq for DeferredTarget
source§fn eq(&self, other: &DeferredTarget) -> bool
fn eq(&self, other: &DeferredTarget) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DeferredTarget
impl Eq for DeferredTarget
impl StructuralPartialEq for DeferredTarget
Auto Trait Implementations§
impl RefUnwindSafe for DeferredTarget
impl Send for DeferredTarget
impl Sync for DeferredTarget
impl Unpin for DeferredTarget
impl UnwindSafe for DeferredTarget
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.