pub enum ExplanationBlockStep {
ListItem {
index: u32,
},
DefinitionItem {
index: u32,
},
TableCell {
row: u32,
column: u32,
},
Block {
index: u32,
},
}Expand description
Shared structural step, rooted here in the single returned content.block.
Item/cell steps select an array and must be followed by a block step.
A checked transition through block arrays and their containing items/cells.
Variants§
ListItem
One ordinary list item’s block array.
DefinitionItem
One definition item’s description block array.
TableCell
One original table cell, independent of visual spans.
Block
One block in the current block array.
Trait Implementations§
Source§impl Clone for ContentBlockStep
impl Clone for ContentBlockStep
Source§fn clone(&self) -> ContentBlockStep
fn clone(&self) -> ContentBlockStep
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 ContentBlockStep
Source§impl Debug for ContentBlockStep
impl Debug for ContentBlockStep
Source§impl<'de> Deserialize<'de> for ContentBlockStep
impl<'de> Deserialize<'de> for ContentBlockStep
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContentBlockStep, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContentBlockStep, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ContentBlockStep
Source§impl Hash for ContentBlockStep
impl Hash for ContentBlockStep
Source§impl JsonSchema for ContentBlockStep
impl JsonSchema for ContentBlockStep
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 Ord for ContentBlockStep
impl Ord for ContentBlockStep
Source§fn cmp(&self, other: &ContentBlockStep) -> Ordering
fn cmp(&self, other: &ContentBlockStep) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ContentBlockStep
impl PartialEq for ContentBlockStep
Source§impl PartialOrd for ContentBlockStep
impl PartialOrd for ContentBlockStep
Source§impl Serialize for ContentBlockStep
impl Serialize for ContentBlockStep
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ContentBlockStep
Auto Trait Implementations§
impl Freeze for ContentBlockStep
impl RefUnwindSafe for ContentBlockStep
impl Send for ContentBlockStep
impl Sync for ContentBlockStep
impl Unpin for ContentBlockStep
impl UnsafeUnpin for ContentBlockStep
impl UnwindSafe for ContentBlockStep
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