Struct darklua_core::nodes::ReturnStatement [−][src]
pub struct ReturnStatement { /* fields omitted */ }
Implementations
Creates a new ReturnStatement with one expression.
let statement = ReturnStatement::one(Expression::from(true));
// unknown case
assert_eq!(statement.len(), 1);
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ReturnStatement
impl Send for ReturnStatement
impl Sync for ReturnStatement
impl Unpin for ReturnStatement
impl UnwindSafe for ReturnStatement
Blanket Implementations
Mutably borrows from an owned value. Read more