Struct darklua_core::nodes::IfStatement [−][src]
pub struct IfStatement { /* fields omitted */ }
Implementations
pub fn with_new_branch<E: Into<Expression>, B: Into<Block>>(
self,
condition: E,
block: B
) -> Self
pub fn push_new_branch<E: Into<Expression>, B: Into<Block>>(
&mut self,
condition: E,
block: B
)
Trait Implementations
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 IfStatement
impl Send for IfStatement
impl Sync for IfStatement
impl Unpin for IfStatement
impl UnwindSafe for IfStatement
Blanket Implementations
Mutably borrows from an owned value. Read more