pub enum CommandElementType {
ScriptBlock,
SubExpression,
ExpandableString,
MemberInvocation,
Variable,
StringConstant,
Parameter,
Other,
}Expand description
Command element type (AST node classification)
Variants§
ScriptBlock
SubExpression
ExpandableString
MemberInvocation
Variable
StringConstant
Parameter
Other
Trait Implementations§
Source§impl Clone for CommandElementType
impl Clone for CommandElementType
Source§fn clone(&self) -> CommandElementType
fn clone(&self) -> CommandElementType
Returns a duplicate of the value. Read more
1.0.0 · 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 CommandElementType
impl Debug for CommandElementType
Source§impl<'de> Deserialize<'de> for CommandElementType
impl<'de> Deserialize<'de> for CommandElementType
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
Source§impl PartialEq for CommandElementType
impl PartialEq for CommandElementType
Source§impl Serialize for CommandElementType
impl Serialize for CommandElementType
impl StructuralPartialEq for CommandElementType
Auto Trait Implementations§
impl Freeze for CommandElementType
impl RefUnwindSafe for CommandElementType
impl Send for CommandElementType
impl Sync for CommandElementType
impl Unpin for CommandElementType
impl UnsafeUnpin for CommandElementType
impl UnwindSafe for CommandElementType
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