pub struct MarkOfRule;Expand description
The general lowering rule of the element MARK_OF, MARK_OF_RULE:
the marks of the xnotes that the node represents (MarkOf).
Each mark is one flm.pres.span { style: Superscript, role: flm.xnotes.xnote.mark } holding the mark text
(stage_mark_text) inside a flm.pres.link to
the xnote, as the xnote’s own mark is written where the xnote is written
(stage_mark) but with no anchor, regardless of the
kind’s placement: the mark’s anchor is the one where the xnote is written.
The rule finds the xnotes among their kinds’ records by the span where
their node was written: every record of those kinds written there, each
written as its mark, side by side, in the order of the node’s points (the
order in which the node’s element returns its xnotes). Where the table of
xnotes holds none, the rule writes nothing and reports
flm.run.missing-entry, as the xnote’s own rule does. It reports nothing
else: the problems of an xnote (an empty content, a refused optional
argument) are reported where it was written.
Trait Implementations§
Source§impl Clone for MarkOfRule
impl Clone for MarkOfRule
impl Copy for MarkOfRule
Source§impl Debug for MarkOfRule
impl Debug for MarkOfRule
Source§impl Default for MarkOfRule
impl Default for MarkOfRule
Auto Trait Implementations§
impl Forget for MarkOfRule
impl Freeze for MarkOfRule
impl Move for MarkOfRule
impl RefUnwindSafe for MarkOfRule
impl Send for MarkOfRule
impl Sync for MarkOfRule
impl Unpin for MarkOfRule
impl UnsafeUnpin for MarkOfRule
impl UnwindSafe for MarkOfRule
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