pub struct LoopStatement {
pub label: Option<Ident>,
pub body: Vec<Statement>,
}Fields§
§label: Option<Ident>§body: Vec<Statement>Trait Implementations§
Source§impl Clone for LoopStatement
impl Clone for LoopStatement
Source§fn clone(&self) -> LoopStatement
fn clone(&self) -> LoopStatement
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LoopStatement
impl Debug for LoopStatement
Source§impl<'de> Deserialize<'de> for LoopStatement
impl<'de> Deserialize<'de> for LoopStatement
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
Source§impl Display for LoopStatement
impl Display for LoopStatement
Source§impl Hash for LoopStatement
impl Hash for LoopStatement
Source§impl Ord for LoopStatement
impl Ord for LoopStatement
Source§fn cmp(&self, other: &LoopStatement) -> Ordering
fn cmp(&self, other: &LoopStatement) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LoopStatement
impl PartialEq for LoopStatement
Source§impl PartialOrd for LoopStatement
impl PartialOrd for LoopStatement
Source§impl Serialize for LoopStatement
impl Serialize for LoopStatement
Source§impl Visit for LoopStatement
impl Visit for LoopStatement
Source§impl VisitMut for LoopStatement
impl VisitMut for LoopStatement
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Eq for LoopStatement
impl StructuralPartialEq for LoopStatement
Auto Trait Implementations§
impl Freeze for LoopStatement
impl RefUnwindSafe for LoopStatement
impl Send for LoopStatement
impl Sync for LoopStatement
impl Unpin for LoopStatement
impl UnwindSafe for LoopStatement
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