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