pub struct Region<'a> {
pub args: Vec<AVal>,
pub body: &'a mut RegionBody<'a>,
}Expand description
A region of an operation such as stablehlo.reduce or stablehlo.while.
Fields§
§args: Vec<AVal>The types of the region’s block arguments.
body: &'a mut RegionBody<'a>Emits the region’s operations.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Region<'a>
impl<'a> !Send for Region<'a>
impl<'a> !Sync for Region<'a>
impl<'a> !UnwindSafe for Region<'a>
impl<'a> Freeze for Region<'a>
impl<'a> Unpin for Region<'a>
impl<'a> UnsafeUnpin for Region<'a>
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