pub struct BlockContentInfo {
pub previous_block_content_element: Option<NodeId>,
pub this_block_content_element: Option<NodeId>,
pub next_block_content_element: Option<NodeId>,
}Expand description
BlockContentInfo (RevisionProcessor.cs :52): prev / this / next links
for block-level content. iterate_block_content_elements fills all
three (this_block_content_element always Some);
get_paragraph_info fills only the previous sibling and this.
Fields§
§previous_block_content_element: Option<NodeId>Previous block-content element in document order (Some after the
first chain element).
this_block_content_element: Option<NodeId>The chain element itself (always Some from
iterate_block_content_elements).
next_block_content_element: Option<NodeId>Next block-content element in document order (None at the end).
Trait Implementations§
Source§impl Clone for BlockContentInfo
impl Clone for BlockContentInfo
Source§fn clone(&self) -> BlockContentInfo
fn clone(&self) -> BlockContentInfo
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 BlockContentInfo
Source§impl Debug for BlockContentInfo
impl Debug for BlockContentInfo
impl Eq for BlockContentInfo
Source§impl PartialEq for BlockContentInfo
impl PartialEq for BlockContentInfo
impl StructuralPartialEq for BlockContentInfo
Auto Trait Implementations§
impl Forget for BlockContentInfo
impl Freeze for BlockContentInfo
impl Move for BlockContentInfo
impl RefUnwindSafe for BlockContentInfo
impl Send for BlockContentInfo
impl Sync for BlockContentInfo
impl Unpin for BlockContentInfo
impl UnsafeUnpin for BlockContentInfo
impl UnwindSafe for BlockContentInfo
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> 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.