pub struct TranslationMap {
pub generated: Span,
pub original: Span,
}Expand description
An artifact region and its original PlusCal source region.
Fields§
§generated: SpanUTF-8 byte interval of an emitted action definition in the generated TLA body, including its header and complete body. The end is exclusive.
original: SpanUTF-8 byte interval of the original labelled statement owner. The end is exclusive; scoped renaming and program-counter omission retain it.
Trait Implementations§
Source§impl Clone for TranslationMap
impl Clone for TranslationMap
Source§impl Debug for TranslationMap
impl Debug for TranslationMap
Source§impl<'de> Deserialize<'de> for TranslationMap
impl<'de> Deserialize<'de> for TranslationMap
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
Auto Trait Implementations§
impl Forget for TranslationMap
impl Freeze for TranslationMap
impl Move for TranslationMap
impl RefUnwindSafe for TranslationMap
impl Send for TranslationMap
impl Sync for TranslationMap
impl Unpin for TranslationMap
impl UnsafeUnpin for TranslationMap
impl UnwindSafe for TranslationMap
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