pub struct SiteDesc {
pub assertion_type: u32,
pub directive_type: u32,
pub scope: String,
pub label: String,
}Expand description
What one site is, as the registry sees it.
Fields§
§assertion_type: u32Exactly one ASSERT_* bit.
directive_type: u32Exactly one DIR_* bit, or 0: not checked.
scope: StringThe hierarchical scope holding the site.
label: StringThe assertion’s full hierarchical name; empty when unlabeled (a
statement-level site then carries #<source offset>, which tells the
unlabeled assertions of one scope apart).
Implementations§
Trait Implementations§
impl Eq for SiteDesc
impl StructuralPartialEq for SiteDesc
Auto Trait Implementations§
impl Freeze for SiteDesc
impl RefUnwindSafe for SiteDesc
impl Send for SiteDesc
impl Sync for SiteDesc
impl Unpin for SiteDesc
impl UnsafeUnpin for SiteDesc
impl UnwindSafe for SiteDesc
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.