pub struct OwnsFact { /* private fields */ }Expand description
A direct ownership fact.
Implementations§
Source§impl OwnsFact
impl OwnsFact
Sourcepub const fn new(id: OwnsFactId) -> Self
pub const fn new(id: OwnsFactId) -> Self
Construct an ownership fact.
Sourcepub const fn id(&self) -> &OwnsFactId
pub const fn id(&self) -> &OwnsFactId
Return the fact identity.
Trait Implementations§
impl Eq for OwnsFact
impl StructuralPartialEq for OwnsFact
Auto Trait Implementations§
impl Freeze for OwnsFact
impl RefUnwindSafe for OwnsFact
impl Send for OwnsFact
impl Sync for OwnsFact
impl Unpin for OwnsFact
impl UnsafeUnpin for OwnsFact
impl UnwindSafe for OwnsFact
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