Struct parser::ast::BlockStatement
source · pub struct BlockStatement {
pub body: Vec<Statement>,
pub span: Span,
}
Fields§
§body: Vec<Statement>
§span: Span
Trait Implementations§
source§impl Clone for BlockStatement
impl Clone for BlockStatement
source§fn clone(&self) -> BlockStatement
fn clone(&self) -> BlockStatement
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BlockStatement
impl Debug for BlockStatement
source§impl<'de> Deserialize<'de> for BlockStatement
impl<'de> Deserialize<'de> for BlockStatement
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for BlockStatement
impl Display for BlockStatement
source§impl Hash for BlockStatement
impl Hash for BlockStatement
source§impl PartialEq<BlockStatement> for BlockStatement
impl PartialEq<BlockStatement> for BlockStatement
source§fn eq(&self, other: &BlockStatement) -> bool
fn eq(&self, other: &BlockStatement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BlockStatement
impl Serialize for BlockStatement
impl Eq for BlockStatement
impl StructuralEq for BlockStatement
impl StructuralPartialEq for BlockStatement
Auto Trait Implementations§
impl RefUnwindSafe for BlockStatement
impl Send for BlockStatement
impl Sync for BlockStatement
impl Unpin for BlockStatement
impl UnwindSafe for BlockStatement
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more