pub enum Step {
Paragraph(usize),
Table(usize),
Row(usize),
Cell(usize),
TextBox(usize),
ContentControl(usize),
}Expand description
One step of a block’s path inside its story.
Variants§
Paragraph(usize)
pN: a paragraph (in the story, a cell, or a text box; the contract
splits the scoped cases out as psN, not implemented).
Table(usize)
tN: a table (in the story, or nested in a cell).
Row(usize)
rowN: a row of the table before it.
Cell(usize)
cellN: a cell of the row before it.
TextBox(usize)
boxN: a text box anchored in the paragraph before it.
ContentControl(usize)
ccN: a content control, in the story or in the paragraph before it.
Implementations§
Trait Implementations§
impl Copy for Step
impl Eq for Step
Source§impl Ord for Step
impl Ord for Step
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 PartialOrd for Step
impl PartialOrd for Step
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Forget for Step
impl Freeze for Step
impl Move for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.