pub enum Statement<T> {
Import(Import),
Expression(Expression<T>),
Intrinsic(Intrinsic<T>),
CompilerDirective(CompilerDirective<T>),
InlineAssembly(InlineAssembly<T>),
}
Variants§
Import(Import)
Expression(Expression<T>)
Intrinsic(Intrinsic<T>)
CompilerDirective(CompilerDirective<T>)
InlineAssembly(InlineAssembly<T>)
Implementations§
Trait Implementations§
Source§impl<T: Ord> Ord for Statement<T>
impl<T: Ord> Ord for Statement<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 Statement<T>
impl<T: PartialOrd> PartialOrd for Statement<T>
impl<T: Eq> Eq for Statement<T>
impl<T> StructuralPartialEq for Statement<T>
Auto Trait Implementations§
impl<T> Freeze for Statement<T>where
T: Freeze,
impl<T> RefUnwindSafe for Statement<T>where
T: RefUnwindSafe,
impl<T> Send for Statement<T>where
T: Send,
impl<T> Sync for Statement<T>where
T: Sync,
impl<T> Unpin for Statement<T>where
T: Unpin,
impl<T> UnwindSafe for Statement<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