[−][src]Enum binjs::specialized::es6::ast::ViewMutExpression
A mechanism to view value as an instance of interface sum Expression
Used to perform shallow cast between larger sums and smaller sums.
Variants
ConditionalExpression(&'a mut ConditionalExpression)
IdentifierExpression(&'a mut IdentifierExpression)
AwaitExpression(&'a mut AwaitExpression)
LazyFunctionExpression(&'a mut LazyFunctionExpression)
EagerArrowExpressionWithFunctionBody(&'a mut EagerArrowExpressionWithFunctionBody)
YieldStarExpression(&'a mut YieldStarExpression)
StaticMemberExpression(&'a mut StaticMemberExpression)
LazyArrowExpressionWithExpression(&'a mut LazyArrowExpressionWithExpression)
LiteralBooleanExpression(&'a mut LiteralBooleanExpression)
EagerArrowExpressionWithExpression(&'a mut EagerArrowExpressionWithExpression)
ComputedMemberExpression(&'a mut ComputedMemberExpression)
BinASTExpressionWithProbabilityTable(&'a mut BinASTExpressionWithProbabilityTable)
ThisExpression(&'a mut ThisExpression)
NewTargetExpression(&'a mut NewTargetExpression)
TemplateExpression(&'a mut TemplateExpression)
ClassExpression(&'a mut ClassExpression)
YieldExpression(&'a mut YieldExpression)
EagerFunctionExpression(&'a mut EagerFunctionExpression)
LazyArrowExpressionWithFunctionBody(&'a mut LazyArrowExpressionWithFunctionBody)
AssignmentExpression(&'a mut AssignmentExpression)
LiteralInfinityExpression(&'a mut LiteralInfinityExpression)
LiteralNumericExpression(&'a mut LiteralNumericExpression)
ArrayExpression(&'a mut ArrayExpression)
UpdateExpression(&'a mut UpdateExpression)
CompoundAssignmentExpression(&'a mut CompoundAssignmentExpression)
LiteralNullExpression(&'a mut LiteralNullExpression)
ObjectExpression(&'a mut ObjectExpression)
UnaryExpression(&'a mut UnaryExpression)
BinaryExpression(&'a mut BinaryExpression)
NewExpression(&'a mut NewExpression)
LiteralRegExpExpression(&'a mut LiteralRegExpExpression)
CallExpression(&'a mut CallExpression)
LiteralStringExpression(&'a mut LiteralStringExpression)
Methods
impl<'a> ViewMutExpression<'a>
[src]
pub fn steal(&mut self) -> Expression
[src]
Convert a ViewMutExpression back into a Expression, stealing the contents of the sum.
Trait Implementations
impl<'a> Debug for ViewMutExpression<'a>
[src]
impl<'a> From<&'a mut Expression> for ViewMutExpression<'a>
[src]
fn from(value: &'a mut Expression) -> ViewMutExpression<'a>
[src]
impl<'a> Walker<'a> for ViewMutExpression<'a> where
ViewMutExpression<'a>: 'a,
[src]
ViewMutExpression<'a>: 'a,
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ViewMutExpression<'a>
impl<'a> !Send for ViewMutExpression<'a>
impl<'a> !Sync for ViewMutExpression<'a>
impl<'a> Unpin for ViewMutExpression<'a>
impl<'a> !UnwindSafe for ViewMutExpression<'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>,