pub struct SFn {Show 16 fields
pub source_pure_unit: Option<Box<Value>>,
pub name: String,
pub params: Vec<SParam>,
pub ret: Option<Type>,
pub semantic_ret: Option<Type>,
pub body: SExpr,
pub span: Option<Span>,
pub generated: bool,
pub source_signature: Option<Box<SourceSignature>>,
pub source_loop: Option<Box<SourceLoop>>,
pub source_primitive_owners: Option<Value>,
pub source_empty_option: Option<Box<Value>>,
pub source_type_namespace: Option<Box<Value>>,
pub source_local_state: Option<Box<Value>>,
pub source_const_function: Option<Box<Value>>,
pub source_diagnostic_attributes: Option<Box<Value>>,
}Fields§
§source_pure_unit: Option<Box<Value>>Actual complete pure Unit header and body sites under the selected model.
name: String§params: Vec<SParam>§ret: Option<Type>§semantic_ret: Option<Type>Actual inferred return when source annotations omit an absence case.
body: SExpr§span: Option<Span>§generated: boolA function the translator made up, such as a lifted loop.
source_signature: Option<Box<SourceSignature>>Optional owned facts from the actually parsed source function header.
source_loop: Option<Box<SourceLoop>>Optional owned scalar loop state and checked continuation interpretation.
source_primitive_owners: Option<Value>Owned actual standard primitive paths, imported aliases and body sites.
source_empty_option: Option<Box<Value>>Optional owned standard empty-option source interpretation.
source_type_namespace: Option<Box<Value>>Optional actual Rust type spellings with rechecked scoped ownership.
source_local_state: Option<Box<Value>>Ordered owned local String moves, copies and replacements.
source_const_function: Option<Box<Value>>Owned actual const qualification of a closed primitive predicate.
source_diagnostic_attributes: Option<Box<Value>>Ordered original diagnostic-only attributes attached to this const function.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SFn
impl<'de> Deserialize<'de> for SFn
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
impl Eq for SFn
impl StructuralPartialEq for SFn
Auto Trait Implementations§
impl Freeze for SFn
impl RefUnwindSafe for SFn
impl Send for SFn
impl Sync for SFn
impl Unpin for SFn
impl UnsafeUnpin for SFn
impl UnwindSafe for SFn
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
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
Checks if this value is equivalent to the given key. Read more
§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
Compare self to
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
Checks if this value is equivalent to the given key. Read more
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§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.