[][src]Trait goggles::par_seq::Resources

pub trait Resources: Default {
    fn union(&mut self, other: &Self);
fn conflicts_with(&self, other: &Self) -> bool; }

Trait for identifying resources that are used in a System

Required methods

fn union(&mut self, other: &Self)

Union this set of resources with the given set of resources.

fn conflicts_with(&self, other: &Self) -> bool

Return true if any resource in this set may not be used in parallel with any resource in the other set.

Loading content...

Implementors

impl<R: Eq + Hash + Clone> Resources for RwResources<R>[src]

Loading content...