pub struct ScriptStatement {
pub text: String,
pub line: usize,
pub conditional: bool,
pub in_procedure: String,
pub span: Span,
}Expand description
A statement of a script, in order, with where it sits.
Fields§
§text: String§line: usize§conditional: boolInside a branch, loop or exception handler: it may not run.
in_procedure: StringThe procedure it is defined in, if any.
span: SpanTrait Implementations§
Source§impl Clone for ScriptStatement
impl Clone for ScriptStatement
Source§impl Debug for ScriptStatement
impl Debug for ScriptStatement
Source§impl<'de> Deserialize<'de> for ScriptStatement
impl<'de> Deserialize<'de> for ScriptStatement
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
impl Eq for ScriptStatement
Source§impl PartialEq for ScriptStatement
impl PartialEq for ScriptStatement
Source§impl Serialize for ScriptStatement
impl Serialize for ScriptStatement
impl StructuralPartialEq for ScriptStatement
Auto Trait Implementations§
impl Forget for ScriptStatement
impl Freeze for ScriptStatement
impl Move for ScriptStatement
impl RefUnwindSafe for ScriptStatement
impl Send for ScriptStatementwhere
RawVecInner: Send,
impl Sync for ScriptStatementwhere
RawVecInner: Sync,
impl Unpin for ScriptStatement
impl UnsafeUnpin for ScriptStatement
impl UnwindSafe for ScriptStatementwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.