#[repr(i32)]pub enum ForKind {
Default = 0,
Parallel = 1,
Vectorized = 2,
Unrolled = 3,
}Expand description
The execution semantics of a For loop: ir::ForKind.
Variants§
Default = 0
Sequential iterations.
Parallel = 1
Iterations may run in parallel.
Vectorized = 2
The body is vectorized.
Unrolled = 3
The loop is unrolled.
Trait Implementations§
impl Copy for ForKind
impl Eq for ForKind
impl StructuralPartialEq for ForKind
Auto Trait Implementations§
impl Freeze for ForKind
impl RefUnwindSafe for ForKind
impl Send for ForKind
impl Sync for ForKind
impl Unpin for ForKind
impl UnwindSafe for ForKind
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