#[repr(C, u8)]pub enum WhileBody {
Statement(Box<Statement>),
ColonDelimited(WhileColonDelimitedBody),
}Expand description
Represents the body of a while statement.
Variants§
Statement(Box<Statement>)
ColonDelimited(WhileColonDelimitedBody)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WhileBody
impl<'de> Deserialize<'de> for WhileBody
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 Ord for WhileBody
impl Ord for WhileBody
Source§impl PartialOrd for WhileBody
impl PartialOrd for WhileBody
impl Eq for WhileBody
impl StructuralPartialEq for WhileBody
Auto Trait Implementations§
impl Freeze for WhileBody
impl RefUnwindSafe for WhileBody
impl Send for WhileBody
impl Sync for WhileBody
impl Unpin for WhileBody
impl UnwindSafe for WhileBody
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