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