pub struct LoopInfo {
pub var: Symbol,
pub lower: i64,
pub upper: Dim,
pub step: i64,
pub parallel: bool,
pub vectorize: Option<usize>,
}Expand description
Information about a single loop.
Fields§
§var: SymbolLoop variable name.
lower: i64Lower bound.
upper: DimUpper bound.
step: i64Step size.
parallel: boolWhether this loop can be parallelized.
vectorize: Option<usize>Whether this loop can be vectorized.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LoopInfo
impl<'de> Deserialize<'de> for LoopInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LoopInfo
impl RefUnwindSafe for LoopInfo
impl Send for LoopInfo
impl Sync for LoopInfo
impl Unpin for LoopInfo
impl UnsafeUnpin for LoopInfo
impl UnwindSafe for LoopInfo
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