pub fn is_compatible(&self, other: &Access<T>) -> bool {
        if self.reads_all {
            0 == other.writes.count_ones(..)
        } else if other.reads_all {
            0 == self.writes.count_ones(..)
        } else {
            self.writes.is_disjoint(&other.reads_and_writes)
                && self.reads_and_writes.is_disjoint(&other.writes)
        }
    }
/// Returns true if this `Access` is compatible with `other`.
///
/// Two `Access` instances are incompatible with each other if one `Access` has a write for
/// which the other also has a write or a read.
Returns true if this `Access` is compatible with `other`.
Two `Access` instances are incompatible with each other if one `Access` has a write for
which the other also has a write or a read.
Returns true if this ` Access ` is compatible with ` other ` . Two ` Access ` instances are incompatible with each other if one ` Access ` has a write for which the other also has a write or a read .
pub fn is_compatible(&self, other: &Access<T>) -> bool {
        if self.reads_all {
            0 == other.writes.count_ones(..)
        } else if other.reads_all {
            0 == self.writes.count_ones(..)
        } else {
            self.writes.is_disjoint(&other.reads_and_writes)
                && self.reads_and_writes.is_disjoint(&other.writes)
        }
    }
pub fn is_compatible ( & self , other : & Access < T > ) -> bool { if self . reads_all { 0 == other . writes . count_ones ( .. ) } else if other . reads_all { 0 == self . writes . count_ones ( .. ) } else { self . writes . is_disjoint ( & other . reads_and_writes ) && self . reads_and_writes . is_disjoint ( & other . writes ) } }
Returns true if this `Access` is compatible with `other`.
Returns true if this ` Access ` is compatible with ` other ` .
&self
other
&Access<T>
&self
other
&Access<T>