pub(crate) struct Ownership {
default: DefaultClaim,
exceptions: PathSet,
}Expand description
A validated ownership declaration: a default claim and the paths that take the opposite claim.
Fields§
§default: DefaultClaim§exceptions: PathSetImplementations§
Source§impl Ownership
impl Ownership
Sourcepub(crate) const fn default_claim(&self) -> DefaultClaim
pub(crate) const fn default_claim(&self) -> DefaultClaim
The claim at every path no exception reaches.
Trait Implementations§
impl Eq for Ownership
impl StructuralPartialEq for Ownership
Source§impl TryFrom<&DocumentOwnership> for Ownership
impl TryFrom<&DocumentOwnership> for Ownership
Source§type Error = OwnershipError
type Error = OwnershipError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for Ownership
impl RefUnwindSafe for Ownership
impl Send for Ownership
impl Sync for Ownership
impl Unpin for Ownership
impl UnsafeUnpin for Ownership
impl UnwindSafe for Ownership
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.