pub struct FnContract {
pub source_name: String,
pub recursion: Option<RecursionContract>,
}Expand description
Per-pure-fn proof contract — what recursion shape (if any) the lowerer pinned for emit.
Fields§
§source_name: String§recursion: Option<RecursionContract>None means non-recursive (plain emit). Some says native /
fuel / structural / whatever the lowerer decided, with all
side-conditions inlined.
Trait Implementations§
Source§impl Clone for FnContract
impl Clone for FnContract
Source§fn clone(&self) -> FnContract
fn clone(&self) -> FnContract
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 moreAuto Trait Implementations§
impl !Freeze for FnContract
impl RefUnwindSafe for FnContract
impl Send for FnContract
impl Sync for FnContract
impl Unpin for FnContract
impl UnsafeUnpin for FnContract
impl UnwindSafe for FnContract
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