pub enum RegionKind {
DataFlow = 0,
ControlFlow = 1,
Module = 2,
}
Expand description
The kind of a region.
Variants§
Trait Implementations§
Source§impl Clone for RegionKind
impl Clone for RegionKind
Source§fn clone(&self) -> RegionKind
fn clone(&self) -> RegionKind
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 RegionKind
impl Debug for RegionKind
Source§impl Hash for RegionKind
impl Hash for RegionKind
Source§impl Ord for RegionKind
impl Ord for RegionKind
Source§fn cmp(&self, other: &RegionKind) -> Ordering
fn cmp(&self, other: &RegionKind) -> Ordering
1.21.0 · Source§fn 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
Source§impl PartialEq for RegionKind
impl PartialEq for RegionKind
Source§impl PartialOrd for RegionKind
impl PartialOrd for RegionKind
impl Copy for RegionKind
impl Eq for RegionKind
impl StructuralPartialEq for RegionKind
Auto Trait Implementations§
impl Freeze for RegionKind
impl RefUnwindSafe for RegionKind
impl Send for RegionKind
impl Sync for RegionKind
impl Unpin for RegionKind
impl UnwindSafe for RegionKind
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