#[repr(C)]pub enum DependType {
In = 0,
Out = 1,
Inout = 2,
Mutexinoutset = 3,
Depobj = 4,
Source = 5,
Sink = 6,
}
Expand description
Dependence type for task dependencies
Specifies the type of data dependency between tasks.
§Examples
let dt = DependType::In;
assert_eq!(dt.to_string(), "in");
let dt = DependType::Inout;
assert_eq!(dt.to_string(), "inout");
Variants§
In = 0
Read dependency
Out = 1
Write dependency
Inout = 2
Read-write dependency
Mutexinoutset = 3
Mutual exclusion with inout
Depobj = 4
Dependency on task completion
Source = 5
Source dependency (OpenMP 5.0)
Sink = 6
Sink dependency (OpenMP 5.0)
Trait Implementations§
Source§impl Clone for DependType
impl Clone for DependType
Source§fn clone(&self) -> DependType
fn clone(&self) -> DependType
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 DependType
impl Debug for DependType
Source§impl Display for DependType
impl Display for DependType
Source§impl Hash for DependType
impl Hash for DependType
Source§impl PartialEq for DependType
impl PartialEq for DependType
impl Copy for DependType
impl Eq for DependType
impl StructuralPartialEq for DependType
Auto Trait Implementations§
impl Freeze for DependType
impl RefUnwindSafe for DependType
impl Send for DependType
impl Sync for DependType
impl Unpin for DependType
impl UnwindSafe for DependType
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