pub struct FnDecl {Show 22 fields
pub source_pure_unit: Option<Value>,
pub name: String,
pub params: Vec<Param>,
pub ret: Type,
pub semantic_ret: Option<Type>,
pub annotated_ret: Option<Type>,
pub body: Expr,
pub span: Option<Span>,
pub full_name: String,
pub module_path: Vec<String>,
pub recursive: bool,
pub decreasing: Option<usize>,
pub mutual: bool,
pub generated: bool,
pub source_signature: Option<SourceSignature>,
pub source_primitive_owners: Option<Value>,
pub source_empty_option: Option<Value>,
pub source_type_namespace: Option<Value>,
pub source_local_state: Option<Value>,
pub source_const_function: Option<Value>,
pub source_diagnostic_attributes: Option<Value>,
pub source_loop: Option<SourceLoop>,
}Fields§
§source_pure_unit: Option<Value>Actual complete pure Unit header and body sites under the selected model.
name: String§params: Vec<Param>§ret: Type§semantic_ret: Option<Type>The original inferred Surface return type, before checked resolution.
annotated_ret: Option<Type>The retained source annotation before additional absence is inferred.
body: Expr§span: Option<Span>§full_name: String§module_path: Vec<String>§recursive: bool§decreasing: Option<usize>The structurally decreasing parameter of a recursive function.
mutual: bool§generated: boolA function the translator made up, such as a lifted loop.
source_signature: Option<SourceSignature>Optional owned source-header facts, checked against this signature.
source_primitive_owners: Option<Value>Actual standard primitive source owners, retained independently of value identity.
source_empty_option: Option<Value>Optional owned standard empty-option source interpretation.
source_type_namespace: Option<Value>Optional actual Rust type spellings with rechecked scoped ownership.
source_local_state: Option<Value>Ordered owned local String moves, copies and replacements.
source_const_function: Option<Value>Owned actual const qualification of a closed primitive predicate.
source_diagnostic_attributes: Option<Value>Ordered original diagnostic-only attributes attached to this const function.
source_loop: Option<SourceLoop>Optional owned scalar loop state and checked continuation interpretation.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FnDecl
impl<'de> Deserialize<'de> for FnDecl
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>,
impl Eq for FnDecl
impl StructuralPartialEq for FnDecl
Auto Trait Implementations§
impl Freeze for FnDecl
impl RefUnwindSafe for FnDecl
impl Send for FnDecl
impl Sync for FnDecl
impl Unpin for FnDecl
impl UnsafeUnpin for FnDecl
impl UnwindSafe for FnDecl
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
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> ⓘ
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> ⓘ
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