pub enum LineShows<'t> {
Nothing,
Number(Vec<NumberSegment>),
Tag {
starred: bool,
content: Vec<NodeRef<'t, Flm>>,
},
}Expand description
What an equation line shows at its tag’s place (LineFrame::shows).
Variants§
Nothing
Nothing: a line of a starred environment, a line marked \nonumber, or
any line where the feature’s configuration numbers no equations
(MathConfig::numbered_equations),
when the line carries no \tag.
Number(Vec<NumberSegment>)
The line’s number, as the numbering feature formats it, with the
counter style’s delimiters ((3)) and without the words a reference
writes before it; empty where no numbering feature is registered (the
counter table is absent), or where the table holds no number for the
line.
Tag
The author’s \tag: its content nodes, and whether the star was
written (\tag*{…}). A line shows the tag written on it even where it
cannot be numbered (that case is reported when the body is parsed, as
LabelWithoutNumber).
Trait Implementations§
Auto Trait Implementations§
impl<'t> !RefUnwindSafe for LineShows<'t>
impl<'t> !UnwindSafe for LineShows<'t>
impl<'t> Forget for LineShows<'t>
impl<'t> Freeze for LineShows<'t>where
*const u8 is !null: Freeze,
PhantomData<NumberSegment>: Freeze,
PhantomData<NodeRef<'t, Flm>>: Freeze,
impl<'t> Move for LineShows<'t>
impl<'t> Send for LineShows<'t>
impl<'t> Sync for LineShows<'t>
impl<'t> Unpin for LineShows<'t>
impl<'t> UnsafeUnpin for LineShows<'t>where
*const u8 is !null: UnsafeUnpin,
PhantomData<NumberSegment>: UnsafeUnpin,
PhantomData<NodeRef<'t, Flm>>: UnsafeUnpin,
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