pub struct WhileLoop<T> {
pub condition: Expression<T>,
pub block: Block<T>,
pub position: Position,
pub info: T,
}Fields§
§condition: Expression<T>§block: Block<T>§position: Position§info: TImplementations§
Trait Implementations§
Source§impl<T: Ord> Ord for WhileLoop<T>
impl<T: Ord> Ord for WhileLoop<T>
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<T: PartialOrd> PartialOrd for WhileLoop<T>
impl<T: PartialOrd> PartialOrd for WhileLoop<T>
impl<T: Eq> Eq for WhileLoop<T>
impl<T> StructuralPartialEq for WhileLoop<T>
Auto Trait Implementations§
impl<T> Freeze for WhileLoop<T>where
T: Freeze,
impl<T> RefUnwindSafe for WhileLoop<T>where
T: RefUnwindSafe,
impl<T> Send for WhileLoop<T>where
T: Send,
impl<T> Sync for WhileLoop<T>where
T: Sync,
impl<T> Unpin for WhileLoop<T>where
T: Unpin,
impl<T> UnwindSafe for WhileLoop<T>where
T: UnwindSafe,
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