pub struct Block { /* private fields */ }
Expand description
A block
statement (or compound statement in other languages) is used to group zero or
more statements.
The block statement is often called compound statement in other languages. It allows you to use multiple statements where JavaScript expects only one statement. Combining statements into blocks is a common practice in JavaScript. The opposite behavior is possible using an empty statement, where you provide no statement, although one is required.
More information:
Trait Implementations
sourceimpl Executable for Block
impl Executable for Block
sourceimpl<T> From<T> for Blockwhere
T: Into<StatementList>,
impl<T> From<T> for Blockwhere
T: Into<StatementList>,
sourceimpl Trace for Block
impl Trace for Block
sourcefn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects Read more
impl StructuralPartialEq for Block
Auto Trait Implementations
impl RefUnwindSafe for Block
impl !Send for Block
impl !Sync for Block
impl Unpin for Block
impl UnwindSafe for Block
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more