pub struct If {
pub extent: Extent,
pub condition: Box<Attributed<Expression>>,
pub body: Box<Block>,
pub more: Vec<If>,
pub else_body: Option<Box<Block>>,
pub whitespace: Vec<Whitespace>,
}Expand description
Fields§
§extent: Extent§condition: Box<Attributed<Expression>>§body: Box<Block>§more: Vec<If>§else_body: Option<Box<Block>>§whitespace: Vec<Whitespace>Trait Implementations§
Auto Trait Implementations§
impl Freeze for If
impl RefUnwindSafe for If
impl Send for If
impl Sync for If
impl Unpin for If
impl UnsafeUnpin for If
impl UnwindSafe for If
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