[][src]Trait goggles::resources::Resources

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

Trait for identifying accessed 'resources' that may conflict if used at the same time.

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 at the same time with any resource in the other set.

Loading content...

Implementors

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

Loading content...