pub enum FloatNumbering {
Numbered,
Unnumbered,
AutoNumbered,
}Expand description
The numbering policy of a float type: when the floats of the type are numbered.
A float is numbered in its type’s counter or not at all. The policy and the
float’s own \label and \nonumber decide which
(numbers); where the numbering feature is not
registered, a float that the policy numbers is reported
(NoNumbering) and shown without a number, except on
the recomposed LaTeX, where LaTeX numbers it. In settings, the policy is written
numbered, unnumbered or auto-numbered.
Variants§
Numbered
Every float of the type is numbered, unless it carries \nonumber, as
a displayed equation is.
Unnumbered
No float of the type is numbered, regardless of its \label and
\nonumber; a \nonumber in one changes nothing and is reported
with a Note.
AutoNumbered
A float of the type is numbered when it carries a \label and no
\nonumber; a \nonumber in a float with no \label changes nothing
and is reported with a Note. The default.
Implementations§
Trait Implementations§
Source§impl Clone for FloatNumbering
impl Clone for FloatNumbering
impl Copy for FloatNumbering
Source§impl Debug for FloatNumbering
impl Debug for FloatNumbering
Source§impl Default for FloatNumbering
impl Default for FloatNumbering
Source§impl<'de> Deserialize<'de> for FloatNumbering
impl<'de> Deserialize<'de> for FloatNumbering
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for FloatNumbering
Source§impl Hash for FloatNumbering
impl Hash for FloatNumbering
Source§impl JsonSchema for FloatNumbering
impl JsonSchema for FloatNumbering
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for FloatNumbering
impl PartialEq for FloatNumbering
Source§impl Serialize for FloatNumbering
impl Serialize for FloatNumbering
impl StructuralPartialEq for FloatNumbering
Auto Trait Implementations§
impl Forget for FloatNumbering
impl Freeze for FloatNumbering
impl Move for FloatNumbering
impl RefUnwindSafe for FloatNumbering
impl Send for FloatNumbering
impl Sync for FloatNumbering
impl Unpin for FloatNumbering
impl UnsafeUnpin for FloatNumbering
impl UnwindSafe for FloatNumbering
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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