#[repr(C)]pub enum ScheduleModifier {
Monotonic = 0,
Nonmonotonic = 1,
Simd = 2,
}
Expand description
Schedule modifier for schedule clause
Modifiers that affect how the schedule is applied.
§Examples
let sm = ScheduleModifier::Monotonic;
assert_eq!(sm.to_string(), "monotonic");
Variants§
Monotonic = 0
Iterations assigned in monotonically increasing order
Nonmonotonic = 1
No ordering guarantee (allows optimizations)
Simd = 2
SIMD execution of iterations
Trait Implementations§
Source§impl Clone for ScheduleModifier
impl Clone for ScheduleModifier
Source§fn clone(&self) -> ScheduleModifier
fn clone(&self) -> ScheduleModifier
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 moreSource§impl Debug for ScheduleModifier
impl Debug for ScheduleModifier
Source§impl Display for ScheduleModifier
impl Display for ScheduleModifier
Source§impl Hash for ScheduleModifier
impl Hash for ScheduleModifier
Source§impl PartialEq for ScheduleModifier
impl PartialEq for ScheduleModifier
impl Copy for ScheduleModifier
impl Eq for ScheduleModifier
impl StructuralPartialEq for ScheduleModifier
Auto Trait Implementations§
impl Freeze for ScheduleModifier
impl RefUnwindSafe for ScheduleModifier
impl Send for ScheduleModifier
impl Sync for ScheduleModifier
impl Unpin for ScheduleModifier
impl UnwindSafe for ScheduleModifier
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