pub struct Sentinel {
pub rule: RuleId,
pub source: &'static str,
pub destination: &'static str,
pub declares: &'static str,
}Expand description
One sentinel: the rule, and the adopted specification that owns it.
Fields§
§rule: RuleIdThe rule an instance’s specifications must define.
source: &'static strThe embedded specification that carries it.
destination: &'static strWhere an instance holds that specification, with {docs_root}
templated.
declares: &'static strThe declaration it authorizes, for the note that names it.
Trait Implementations§
impl Copy for Sentinel
impl Eq for Sentinel
impl StructuralPartialEq for Sentinel
Auto Trait Implementations§
impl Freeze for Sentinel
impl RefUnwindSafe for Sentinel
impl Send for Sentinel
impl Sync for Sentinel
impl Unpin for Sentinel
impl UnsafeUnpin for Sentinel
impl UnwindSafe for Sentinel
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,
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.