pub struct TermRule;Expand description
The lowering rule TERM_RULE: a term link as a link to its term
definition. See the module documentation.
A term link whose term is empty or only whitespace (~ and \ are part
of a term as written) is reported as EmptyTerm and shows its text
marked as unresolved. A term link whose term holds a placeholder in the
template of a kept definition (kept
definitions) shows its text and reports
nothing. A resolution that the resolutions table does not hold (content
that nobody resolved, or a synthesized value that its consumer did not
bring up to date through value
catch-up) is reported at
the node as flm.run.missing-entry, and the rule then fails.
Where the term link is inside the definition of its own term, the rule
requires the feature’s style identifier STYLE
(flm.defterm.style), which each backend resolves as it resolves
requirements: the stylesheet on the html backend, the definition pieces
delivering it on the latex-rendered backend, nothing on the text
backend.
Trait Implementations§
impl Copy for TermRule
Auto Trait Implementations§
impl Forget for TermRule
impl Freeze for TermRule
impl Move for TermRule
impl RefUnwindSafe for TermRule
impl Send for TermRule
impl Sync for TermRule
impl Unpin for TermRule
impl UnsafeUnpin for TermRule
impl UnwindSafe for TermRule
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more