pub struct ElseSection {
pub label: Option<String>,
pub items: Vec<Item>,
}Expand description
An else section within a block (for alt/opt with multiple else branches)
Fields§
§label: Option<String>Optional label for this else section
items: Vec<Item>Items in this else section
Trait Implementations§
Source§impl Clone for ElseSection
impl Clone for ElseSection
Source§fn clone(&self) -> ElseSection
fn clone(&self) -> ElseSection
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 ElseSection
impl Debug for ElseSection
Source§impl PartialEq for ElseSection
impl PartialEq for ElseSection
impl StructuralPartialEq for ElseSection
Auto Trait Implementations§
impl Freeze for ElseSection
impl RefUnwindSafe for ElseSection
impl Send for ElseSection
impl Sync for ElseSection
impl Unpin for ElseSection
impl UnwindSafe for ElseSection
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