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