pub struct LoopNestInfo {
pub max_depth: u32,
pub total_body_vars: usize,
pub loops: Vec<LoopStructure>,
}Expand description
Loop nest information aggregated from a set of loop structures.
Fields§
§max_depth: u32Maximum nesting depth among all loops.
total_body_vars: usizeTotal number of body variables across all loops.
loops: Vec<LoopStructure>The loop structures.
Implementations§
Source§impl LoopNestInfo
impl LoopNestInfo
Sourcepub fn from_loops(loops: Vec<LoopStructure>) -> Self
pub fn from_loops(loops: Vec<LoopStructure>) -> Self
Build loop nest info from a vector of loop structures.
Trait Implementations§
Source§impl Clone for LoopNestInfo
impl Clone for LoopNestInfo
Source§fn clone(&self) -> LoopNestInfo
fn clone(&self) -> LoopNestInfo
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for LoopNestInfo
impl RefUnwindSafe for LoopNestInfo
impl Send for LoopNestInfo
impl Sync for LoopNestInfo
impl Unpin for LoopNestInfo
impl UnsafeUnpin for LoopNestInfo
impl UnwindSafe for LoopNestInfo
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