pub struct TclCommand {
pub span: Range<usize>,
pub words: Vec<TclWord>,
}Expand description
A Tcl command.
Fields§
§span: Range<usize>The span of the command in the source file.
words: Vec<TclWord>The words (arguments) of the command.
Trait Implementations§
Source§impl Clone for TclCommand
impl Clone for TclCommand
Source§fn clone(&self) -> TclCommand
fn clone(&self) -> TclCommand
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 moreSource§impl Debug for TclCommand
impl Debug for TclCommand
Source§impl<'de> Deserialize<'de> for TclCommand
impl<'de> Deserialize<'de> for TclCommand
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 Freeze for TclCommand
impl RefUnwindSafe for TclCommand
impl Send for TclCommand
impl Sync for TclCommand
impl Unpin for TclCommand
impl UnsafeUnpin for TclCommand
impl UnwindSafe for TclCommand
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