pub struct PointerRule;Expand description
The general lowering rule of the element
CONTENT_POINTER,
POINTER_RULE: the content that the pointer refers
to (ContentPointer),
lowered where the pointer is placed, as it is lowered inside the xnote,
through lower_content_pointer.
A pointer that refers to a region that is not the content of an xnote of a
kind the table of xnotes records (where the table is absent, an xnote of
any kind is accepted) is refused (PointerRefused) and writes nothing. A pointer that refers to a node the lowering cannot reach, or to
a region the node does not have, is reported at the pointer as the
lowering stage’s flm.lowering.region-not-found and writes nothing.
The list of an xnote kind lowers the pointer of each entry itself, through
the same check, to place the link back to the mark at the end of the
content’s last paragraph (ListRule); this rule lowers
a pointer placed anywhere else.
Trait Implementations§
Source§impl Clone for PointerRule
impl Clone for PointerRule
impl Copy for PointerRule
Source§impl Debug for PointerRule
impl Debug for PointerRule
Source§impl Default for PointerRule
impl Default for PointerRule
Auto Trait Implementations§
impl Forget for PointerRule
impl Freeze for PointerRule
impl Move for PointerRule
impl RefUnwindSafe for PointerRule
impl Send for PointerRule
impl Sync for PointerRule
impl Unpin for PointerRule
impl UnsafeUnpin for PointerRule
impl UnwindSafe for PointerRule
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