pub struct IfElseLiteral {
pub if_lit: IfLiteral,
pub elifs: Vec<IfLiteral>,
pub else_lit: Option<ElseLiteral>,
}
Fields§
§if_lit: IfLiteral
§elifs: Vec<IfLiteral>
§else_lit: Option<ElseLiteral>
Trait Implementations§
Source§impl Clone for IfElseLiteral
impl Clone for IfElseLiteral
Source§fn clone(&self) -> IfElseLiteral
fn clone(&self) -> IfElseLiteral
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 moreSource§impl Debug for IfElseLiteral
impl Debug for IfElseLiteral
Source§impl PartialEq for IfElseLiteral
impl PartialEq for IfElseLiteral
impl StructuralPartialEq for IfElseLiteral
Auto Trait Implementations§
impl Freeze for IfElseLiteral
impl RefUnwindSafe for IfElseLiteral
impl Send for IfElseLiteral
impl Sync for IfElseLiteral
impl Unpin for IfElseLiteral
impl UnwindSafe for IfElseLiteral
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