pub struct NoNumbering {
pub environment: String,
}Expand description
The error that is reported when the items of a numbered list need a number
and the registry does not contain the
numbering feature (id
flm.lists.no-numbering).
Only the numbering feature computes the numbers of list items. The items of
a numbered list need a number if the label template of the list contains a
number format and at least one item has no tag. A list with a fixed label,
as in \begin{enumerate}[label={*}], needs no number, and neither does an
item with a tag.
Reported by the lowering rule of the list, on every backend, once for each
such list. On every backend except latex-recomposed, the items without a
tag are written without a label. On the latex-recomposed backend, the list
is written as usual, and LaTeX numbers its items.
Fields§
§environment: StringThe list environment’s name.
Implementations§
Source§impl NoNumbering
impl NoNumbering
Sourcepub fn new(environment: impl Into<String>) -> Self
pub fn new(environment: impl Into<String>) -> Self
Creates a NoNumbering condition.
Trait Implementations§
Source§impl Clone for NoNumbering
impl Clone for NoNumbering
Source§impl Debug for NoNumbering
impl Debug for NoNumbering
Source§impl DiagnosticInfo for NoNumbering
impl DiagnosticInfo for NoNumbering
Source§const IDENTIFIER: &'static str = "flm.lists.no-numbering"
const IDENTIFIER: &'static str = "flm.lists.no-numbering"
<crate-or-lang>.<area>.<condition>. Read moreSource§fn serializable_data(&self) -> DiagnosticValue
fn serializable_data(&self) -> DiagnosticValue
Source§fn identifier(&self) -> &str
fn identifier(&self) -> &str
Source§impl Display for NoNumbering
impl Display for NoNumbering
impl Eq for NoNumbering
Source§impl PartialEq for NoNumbering
impl PartialEq for NoNumbering
impl StructuralPartialEq for NoNumbering
Auto Trait Implementations§
impl Forget for NoNumbering
impl Freeze for NoNumbering
impl Move for NoNumbering
impl RefUnwindSafe for NoNumbering
impl Send for NoNumberingwhere
RawVecInner: Send,
impl Sync for NoNumberingwhere
RawVecInner: Sync,
impl Unpin for NoNumbering
impl UnsafeUnpin for NoNumbering
impl UnwindSafe for NoNumberingwhere
RawVecInner: UnwindSafe,
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> DiagnosticData for Twhere
T: DiagnosticInfo,
impl<T> DiagnosticData for Twhere
T: DiagnosticInfo,
Source§fn identifier(&self) -> &str
fn identifier(&self) -> &str
DiagnosticInfo::identifier — for every
ordinary condition, the IDENTIFIER const).Source§fn serializable_data(&self) -> DiagnosticValue
fn serializable_data(&self) -> DiagnosticValue
DiagnosticInfo::serializable_data).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
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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