#[non_exhaustive]pub enum NewNumberKind {
Page,
Footnote,
Endnote,
Picture,
Table,
Equation,
Unknown,
}Expand description
Which counter a Control::NewNumber restarts.
Maps 1:1 to HWPX <hp:newNum numType> and HWP5 nwno property
bits 0-3 (native fixture 실측 2026-08-12: 쪽 번호 = 0, corpus 613회 중
607회가 Page). Unmapped wire values are surfaced as Self::Unknown
— encoders must skip them instead of fabricating a type.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Page
쪽 번호 재시작 (numType="PAGE", wire 0).
Footnote
각주 번호 재시작 (numType="FOOTNOTE", wire 1).
Endnote
미주 번호 재시작 (numType="ENDNOTE", wire 2).
Picture
그림 번호 재시작 (numType="PICTURE", wire 3).
Table
표 번호 재시작 (numType="TABLE", wire 4).
Equation
수식 번호 재시작 (numType="EQUATION", wire 5).
Unknown
Unmapped wire value (6-15) — preserved as a warning signal only.
Trait Implementations§
Source§impl Clone for NewNumberKind
impl Clone for NewNumberKind
Source§fn clone(&self) -> NewNumberKind
fn clone(&self) -> NewNumberKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NewNumberKind
Source§impl Debug for NewNumberKind
impl Debug for NewNumberKind
Source§impl<'de> Deserialize<'de> for NewNumberKind
impl<'de> Deserialize<'de> for NewNumberKind
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NewNumberKind
Source§impl Hash for NewNumberKind
impl Hash for NewNumberKind
Source§impl JsonSchema for NewNumberKind
impl JsonSchema for NewNumberKind
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for NewNumberKind
impl PartialEq for NewNumberKind
Source§impl Serialize for NewNumberKind
impl Serialize for NewNumberKind
impl StructuralPartialEq for NewNumberKind
Auto Trait Implementations§
impl Freeze for NewNumberKind
impl RefUnwindSafe for NewNumberKind
impl Send for NewNumberKind
impl Sync for NewNumberKind
impl Unpin for NewNumberKind
impl UnsafeUnpin for NewNumberKind
impl UnwindSafe for NewNumberKind
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
Mutably borrows from an owned value. Read more
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§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
Compare self to
key and return true if they are equal.