pub struct Loop {
pub id: LoopId,
pub var: ValueId,
pub lower: Value,
pub upper: Value,
pub step: Value,
pub body: Body,
pub attrs: LoopAttrs,
}Expand description
A loop construct.
Fields§
§id: LoopIdUnique loop identifier.
var: ValueIdLoop variable.
lower: ValueLower bound (inclusive).
upper: ValueUpper bound (exclusive).
step: ValueStep size.
body: BodyLoop body.
attrs: LoopAttrsLoop attributes.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Loop
impl<'de> Deserialize<'de> for Loop
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Loop
impl RefUnwindSafe for Loop
impl Send for Loop
impl Sync for Loop
impl Unpin for Loop
impl UnsafeUnpin for Loop
impl UnwindSafe for Loop
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