pub struct StmtElseIf {
pub condition: Expression,
pub block: Block,
pub span: Span,
}Expand description
else-if fragment for if statements
Fields§
§condition: Expression§block: Block§span: SpanImplementations§
Trait Implementations§
Source§impl Clone for StmtElseIf
impl Clone for StmtElseIf
Source§fn clone(&self) -> StmtElseIf
fn clone(&self) -> StmtElseIf
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for StmtElseIf
impl RefUnwindSafe for StmtElseIf
impl Send for StmtElseIf
impl Sync for StmtElseIf
impl Unpin for StmtElseIf
impl UnwindSafe for StmtElseIf
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