pub enum DeclAttr {
Inline,
Simp,
Ext,
Reducible,
Unknown(String),
}Expand description
An attribute that can be attached to a declaration.
Variants§
Inline
Mark as inline (always unfold).
Simp
Mark as @[simp] (add to simp set).
Ext
Mark as @[ext] (register as an extensionality lemma).
Reducible
Mark as reducible.
Unknown(String)
An unknown attribute with a name.
Implementations§
Trait Implementations§
impl Eq for DeclAttr
impl StructuralPartialEq for DeclAttr
Auto Trait Implementations§
impl Freeze for DeclAttr
impl RefUnwindSafe for DeclAttr
impl Send for DeclAttr
impl Sync for DeclAttr
impl Unpin for DeclAttr
impl UnsafeUnpin for DeclAttr
impl UnwindSafe for DeclAttr
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