pub struct ProofAttributes {
pub proof: Option<String>,
pub pure_requires_proof: Option<String>,
pub pure_ensures_proof: Option<String>,
pub proof_method: Option<ProofMethod>,
}Expand description
The various linked expressions one can usually find on a (linked or not) function.
Fields§
§proof: Option<String>A custom proof, see [hax_lib::lean::proof]
pure_requires_proof: Option<String>A proof that the precondition is pure, see [hax_lib::lean::pure_requires_proof]
pure_ensures_proof: Option<String>A proof that the postcondition is pure, see [hax_lib::lean::pure_ensures_proof]
proof_method: Option<ProofMethod>A proof method, see [hax_lib::lean::proof_method]
Auto Trait Implementations§
impl Freeze for ProofAttributes
impl RefUnwindSafe for ProofAttributes
impl Send for ProofAttributes
impl Sync for ProofAttributes
impl Unpin for ProofAttributes
impl UnsafeUnpin for ProofAttributes
impl UnwindSafe for ProofAttributes
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more