[][src]Struct boa::syntax::ast::node::declaration::LetDeclList

pub struct LetDeclList { /* fields omitted */ }

The let statement declares a block scope local variable, optionally initializing it to a value.

let allows you to declare variables that are limited to a scope of a block statement, or expression on which it is used, unlike the var keyword, which defines a variable globally, or locally to an entire function regardless of block scope.

Just like const the let does not create properties of the window object when declared globally (in the top-most scope).

More information:

Trait Implementations

impl AsRef<[LetDecl]> for LetDeclList[src]

impl Clone for LetDeclList[src]

impl Debug for LetDeclList[src]

impl Display for LetDeclList[src]

impl Drop for LetDeclList[src]

impl Executable for LetDeclList[src]

impl Finalize for LetDeclList[src]

impl From<LetDecl> for LetDeclList[src]

impl From<LetDeclList> for Node[src]

impl<T> From<T> for LetDeclList where
    T: Into<Box<[LetDecl]>>, 
[src]

impl PartialEq<LetDeclList> for LetDeclList[src]

impl StructuralPartialEq for LetDeclList[src]

impl Trace for LetDeclList[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,