pub fn is_disjoint(&self, scope: &Scope) -> bool {
        if self.resource != scope.resource {
            return false;
        }
        self.actions.is_disjoint(&scope.actions)
    }
/// Checks if `self` is disjoint with the given `scope`.
/// i.e: They reference the same resource, and share no actions in common.
Checks if `self` is disjoint with the given `scope`.
i.e: They reference the same resource, and share no actions in common.
Checks if ` self ` is disjoint with the given ` scope ` . i . e : They reference the same resource and share no actions in common .
pub fn is_disjoint(&self, scope: &Scope) -> bool {
        if self.resource != scope.resource {
            return false;
        }
        self.actions.is_disjoint(&scope.actions)
    }
pub fn is_disjoint ( & self , scope : & Scope ) -> bool { if self . resource != scope . resource { return false ; } self . actions . is_disjoint ( & scope . actions ) }
Checks if `self` is disjoint with the given `scope`.
Checks if ` self ` is disjoint with the given ` scope ` .
&self
scope
&Scope
&self
scope
&Scope