pub enum InvariantScope {
Function(String),
Loop(BlockId),
Contract,
}Variants§
Trait Implementations§
Source§impl Clone for InvariantScope
impl Clone for InvariantScope
Source§fn clone(&self) -> InvariantScope
fn clone(&self) -> InvariantScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InvariantScope
impl Debug for InvariantScope
Source§impl<'de> Deserialize<'de> for InvariantScope
impl<'de> Deserialize<'de> for InvariantScope
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 InvariantScope
impl RefUnwindSafe for InvariantScope
impl Send for InvariantScope
impl Sync for InvariantScope
impl Unpin for InvariantScope
impl UnsafeUnpin for InvariantScope
impl UnwindSafe for InvariantScope
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