Trait stemflow::SetAccess [] [src]

pub trait SetAccess<A> where A: Access {
    fn is_allowed(&self, access: &A) -> bool;
    fn insert_dedup(&mut self, access: A) -> bool;
    fn range_read<'a>(&'a self) -> Range<'a, A>;
    fn range_write<'a>(&'a self) -> Range<'a, A>;

    fn insert_dedup_all<I>(&mut self, access_iter: I) -> bool where I: Iterator<Item=A> { ... }
}

Required Methods

fn is_allowed(&self, access: &A) -> bool

fn insert_dedup(&mut self, access: A) -> bool

fn range_read<'a>(&'a self) -> Range<'a, A>

fn range_write<'a>(&'a self) -> Range<'a, A>

Provided Methods

fn insert_dedup_all<I>(&mut self, access_iter: I) -> bool where I: Iterator<Item=A>

Implementors