pub enum ParagraphListRef {
Outline {
level: u8,
},
Number {
numbering_id: NumberingIndex,
level: u8,
},
Bullet {
bullet_id: BulletIndex,
level: u8,
},
CheckBullet {
bullet_id: BulletIndex,
level: u8,
checked: bool,
},
}Expand description
Shared paragraph list semantics.
This is the format-independent IR carried by paragraph styles. It stores the resolved list kind plus the branded definition index when a shared numbering or bullet definition is required.
Variants§
Outline
Outline heading semantics.
Number
Numbered list semantics.
Fields
§
numbering_id: NumberingIndexBranded index into the shared numbering definition table.
Bullet
Bullet list semantics.
Fields
§
bullet_id: BulletIndexBranded index into the shared bullet definition table.
CheckBullet
Checkable bullet list semantics.
Implementations§
Source§impl ParagraphListRef
impl ParagraphListRef
Sourcepub const fn heading_type(self) -> HeadingType
pub const fn heading_type(self) -> HeadingType
Returns the corresponding heading type for HWP-family wire formats.
Trait Implementations§
Source§impl Clone for ParagraphListRef
impl Clone for ParagraphListRef
Source§fn clone(&self) -> ParagraphListRef
fn clone(&self) -> ParagraphListRef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParagraphListRef
impl Debug for ParagraphListRef
Source§impl<'de> Deserialize<'de> for ParagraphListRef
impl<'de> Deserialize<'de> for ParagraphListRef
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
Source§impl JsonSchema for ParagraphListRef
impl JsonSchema for ParagraphListRef
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 ParagraphListRef
impl PartialEq for ParagraphListRef
Source§impl Serialize for ParagraphListRef
impl Serialize for ParagraphListRef
impl Copy for ParagraphListRef
impl Eq for ParagraphListRef
impl StructuralPartialEq for ParagraphListRef
Auto Trait Implementations§
impl Freeze for ParagraphListRef
impl RefUnwindSafe for ParagraphListRef
impl Send for ParagraphListRef
impl Sync for ParagraphListRef
impl Unpin for ParagraphListRef
impl UnsafeUnpin for ParagraphListRef
impl UnwindSafe for ParagraphListRef
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,
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.