pub enum PowerShellExpression {
Literal(PowerShellLiteral),
Variable(PowerShellVariable),
Command(PowerShellCommand),
Pipeline(PowerShellPipeline),
Binary(PowerShellBinaryOp),
Unary(PowerShellUnaryOp),
Member(PowerShellMemberAccess),
Index(PowerShellIndexAccess),
Subexpression(Box<PowerShellExpression>),
Array(PowerShellArray),
Hashtable(PowerShellHashtable),
ScriptBlock(PowerShellScriptBlock),
}Expand description
PowerShell 表达式
Variants§
Literal(PowerShellLiteral)
Variable(PowerShellVariable)
Command(PowerShellCommand)
Pipeline(PowerShellPipeline)
Binary(PowerShellBinaryOp)
Unary(PowerShellUnaryOp)
Member(PowerShellMemberAccess)
Index(PowerShellIndexAccess)
Subexpression(Box<PowerShellExpression>)
Array(PowerShellArray)
Hashtable(PowerShellHashtable)
ScriptBlock(PowerShellScriptBlock)
Trait Implementations§
Source§impl Clone for PowerShellExpression
impl Clone for PowerShellExpression
Source§fn clone(&self) -> PowerShellExpression
fn clone(&self) -> PowerShellExpression
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 PowerShellExpression
impl Debug for PowerShellExpression
Source§impl<'de> Deserialize<'de> for PowerShellExpression
impl<'de> Deserialize<'de> for PowerShellExpression
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 PowerShellExpression
impl PartialEq for PowerShellExpression
Source§impl Serialize for PowerShellExpression
impl Serialize for PowerShellExpression
impl StructuralPartialEq for PowerShellExpression
Auto Trait Implementations§
impl Freeze for PowerShellExpression
impl RefUnwindSafe for PowerShellExpression
impl Send for PowerShellExpression
impl Sync for PowerShellExpression
impl Unpin for PowerShellExpression
impl UnwindSafe for PowerShellExpression
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