pub struct ExprLoop {
pub attrs: Vec<Attribute>,
pub label: Option<Label>,
pub loop_token: Loop,
pub body: Block,
}
Expand description
Conditionless loop: loop { ... }
.
This type is available only if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
label: Option<Label>
loop_token: Loop
body: Block
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ExprLoop
impl !Send for ExprLoop
impl !Sync for ExprLoop
impl Unpin for ExprLoop
impl UnwindSafe for ExprLoop
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more