[−][src]Enum binjs::specialized::es6::ast::ViewMutExpressionOrVariableDeclaration
A mechanism to view value as an instance of interface sum ExpressionOrVariableDeclaration
Used to perform shallow cast between larger sums and smaller sums.
Variants
LiteralStringExpression(&'a mut LiteralStringExpression)LiteralNumericExpression(&'a mut LiteralNumericExpression)CompoundAssignmentExpression(&'a mut CompoundAssignmentExpression)ConditionalExpression(&'a mut ConditionalExpression)NewTargetExpression(&'a mut NewTargetExpression)CallExpression(&'a mut CallExpression)AssignmentExpression(&'a mut AssignmentExpression)EagerFunctionExpression(&'a mut EagerFunctionExpression)UnaryExpression(&'a mut UnaryExpression)NewExpression(&'a mut NewExpression)LazyArrowExpressionWithFunctionBody(&'a mut LazyArrowExpressionWithFunctionBody)YieldExpression(&'a mut YieldExpression)BinaryExpression(&'a mut BinaryExpression)ObjectExpression(&'a mut ObjectExpression)LiteralRegExpExpression(&'a mut LiteralRegExpExpression)ClassExpression(&'a mut ClassExpression)TemplateExpression(&'a mut TemplateExpression)UpdateExpression(&'a mut UpdateExpression)StaticMemberExpression(&'a mut StaticMemberExpression)AwaitExpression(&'a mut AwaitExpression)LazyArrowExpressionWithExpression(&'a mut LazyArrowExpressionWithExpression)ComputedMemberExpression(&'a mut ComputedMemberExpression)YieldStarExpression(&'a mut YieldStarExpression)LazyFunctionExpression(&'a mut LazyFunctionExpression)LiteralInfinityExpression(&'a mut LiteralInfinityExpression)EagerArrowExpressionWithFunctionBody(&'a mut EagerArrowExpressionWithFunctionBody)LiteralBooleanExpression(&'a mut LiteralBooleanExpression)ArrayExpression(&'a mut ArrayExpression)BinASTExpressionWithProbabilityTable(&'a mut BinASTExpressionWithProbabilityTable)IdentifierExpression(&'a mut IdentifierExpression)VariableDeclaration(&'a mut VariableDeclaration)LiteralNullExpression(&'a mut LiteralNullExpression)EagerArrowExpressionWithExpression(&'a mut EagerArrowExpressionWithExpression)ThisExpression(&'a mut ThisExpression)Methods
impl<'a> ViewMutExpressionOrVariableDeclaration<'a>[src]
pub fn steal(&mut self) -> ExpressionOrVariableDeclaration[src]
Convert a ViewMutExpressionOrVariableDeclaration back into a ExpressionOrVariableDeclaration, stealing the contents of the sum.
Trait Implementations
impl<'a> Debug for ViewMutExpressionOrVariableDeclaration<'a>[src]
impl<'a> From<&'a mut ExpressionOrVariableDeclaration> for ViewMutExpressionOrVariableDeclaration<'a>[src]
fn from(
value: &'a mut ExpressionOrVariableDeclaration
) -> ViewMutExpressionOrVariableDeclaration<'a>[src]
value: &'a mut ExpressionOrVariableDeclaration
) -> ViewMutExpressionOrVariableDeclaration<'a>
impl<'a> Walker<'a> for ViewMutExpressionOrVariableDeclaration<'a> where
ViewMutExpressionOrVariableDeclaration<'a>: 'a, [src]
ViewMutExpressionOrVariableDeclaration<'a>: 'a,
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ViewMutExpressionOrVariableDeclaration<'a>
impl<'a> !Send for ViewMutExpressionOrVariableDeclaration<'a>
impl<'a> !Sync for ViewMutExpressionOrVariableDeclaration<'a>
impl<'a> Unpin for ViewMutExpressionOrVariableDeclaration<'a>
impl<'a> !UnwindSafe for ViewMutExpressionOrVariableDeclaration<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Downcast for T where
T: Any, [src]
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>[src]
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>[src]
fn as_any(&self) -> &(dyn Any + 'static)[src]
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)[src]
impl<T> DowncastSync for T where
T: Send + Sync + Any, [src]
T: Send + Sync + Any,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>, [src]
V: MultiLane<T>,