pub struct OwnerFact {
pub home: &'static str,
pub name: &'static str,
}Expand description
One owning home and one fact it declares, by the stable names that home wrote down.
Every selection, omission, exclusion, and non-applicability in this compiler cites one. A bare boolean would say a decision happened without saying whose fact decided it, which is exactly the explanation the compiler owes.
Fields§
§home: &'static strThe owning home, by its declared name.
name: &'static strThe fact that home declares, by its declared stable name.
Implementations§
Trait Implementations§
impl Copy for OwnerFact
impl Eq for OwnerFact
impl StructuralPartialEq for OwnerFact
Auto Trait Implementations§
impl Freeze for OwnerFact
impl RefUnwindSafe for OwnerFact
impl Send for OwnerFact
impl Sync for OwnerFact
impl Unpin for OwnerFact
impl UnsafeUnpin for OwnerFact
impl UnwindSafe for OwnerFact
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