pub enum NativeTerminator {
Return(ValueId),
Jump {
target: BlockId,
args: Vec<ValueId>,
},
Branch {
cond: ValueId,
then_block: BlockId,
else_block: BlockId,
},
}Variants§
Trait Implementations§
Source§impl Clone for NativeTerminator
impl Clone for NativeTerminator
Source§fn clone(&self) -> NativeTerminator
fn clone(&self) -> NativeTerminator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NativeTerminator
impl Debug for NativeTerminator
Source§impl PartialEq for NativeTerminator
impl PartialEq for NativeTerminator
Source§fn eq(&self, other: &NativeTerminator) -> bool
fn eq(&self, other: &NativeTerminator) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for NativeTerminator
impl StructuralPartialEq for NativeTerminator
Auto Trait Implementations§
impl Freeze for NativeTerminator
impl RefUnwindSafe for NativeTerminator
impl Send for NativeTerminator
impl Sync for NativeTerminator
impl Unpin for NativeTerminator
impl UnsafeUnpin for NativeTerminator
impl UnwindSafe for NativeTerminator
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.