pub struct ResolvedFunction { /* private fields */ }Expand description
Opaque resolved function retained without speculative body typing.
Implementations§
Source§impl ResolvedFunction
impl ResolvedFunction
Sourcepub const fn id(&self) -> &FunctionId
pub const fn id(&self) -> &FunctionId
Return the stable function identity.
Sourcepub const fn declaration(&self) -> &FunctionFact
pub const fn declaration(&self) -> &FunctionFact
Return the validated direct declaration without rewriting its body.
Sourcepub const fn annotations(
&self,
) -> &BTreeMap<AnnotationKindId, SchemaAnnotationValue>
pub const fn annotations( &self, ) -> &BTreeMap<AnnotationKindId, SchemaAnnotationValue>
Return function documentation and metadata.
Trait Implementations§
Source§impl Clone for ResolvedFunction
impl Clone for ResolvedFunction
Source§impl Debug for ResolvedFunction
impl Debug for ResolvedFunction
impl Eq for ResolvedFunction
Source§impl PartialEq for ResolvedFunction
impl PartialEq for ResolvedFunction
impl StructuralPartialEq for ResolvedFunction
Auto Trait Implementations§
impl Freeze for ResolvedFunction
impl RefUnwindSafe for ResolvedFunction
impl Send for ResolvedFunction
impl Sync for ResolvedFunction
impl Unpin for ResolvedFunction
impl UnsafeUnpin for ResolvedFunction
impl UnwindSafe for ResolvedFunction
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