pub struct SourceContextRow {
pub kind: String,
pub target: TargetPair,
pub value: TextValue,
pub text_view: String,
pub text_codec: String,
pub limitations: Vec<String>,
pub revisions: Vec<RevisionRef>,
pub reason_codes: Vec<String>,
}Expand description
A read-only original-S observation; never a rewrite row.
Fields§
§kind: Stringparagraph (or opaque for unrepresented regions).
target: TargetPairPaired identity in the original source.
value: TextValueOriginal-S final logical text.
text_view: Stringfinal, the view value was projected under: inserted text in,
deleted text out. The revision marks below say which parts of the
text are pending decisions.
text_codec: StringWhether the exact text codec represents this paragraph
(supported / unsupported): context is never editable, but an
unrepresentable neighbour must not look like one.
limitations: Vec<String>Constructs present but not represented in value (sym,
field, revision, drawing, …).
revisions: Vec<RevisionRef>Original revision marks the neighbour holds (basis is always
original): a pending insertion’s text or an emptied paragraph
is labelled, not silent.
reason_codes: Vec<String>Why the record is context (context, unsupported_text_codec,
merged, removed).
Trait Implementations§
Source§impl Clone for SourceContextRow
impl Clone for SourceContextRow
Source§fn clone(&self) -> SourceContextRow
fn clone(&self) -> SourceContextRow
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SourceContextRow
impl Debug for SourceContextRow
impl Eq for SourceContextRow
Source§impl PartialEq for SourceContextRow
impl PartialEq for SourceContextRow
Source§impl Serialize for SourceContextRow
impl Serialize for SourceContextRow
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,
impl StructuralPartialEq for SourceContextRow
Auto Trait Implementations§
impl Forget for SourceContextRow
impl Freeze for SourceContextRow
impl Move for SourceContextRow
impl RefUnwindSafe for SourceContextRow
impl Send for SourceContextRow
impl Sync for SourceContextRow
impl Unpin for SourceContextRow
impl UnsafeUnpin for SourceContextRow
impl UnwindSafe for SourceContextRow
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
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
key and return true if they are equal.