pub struct FuncInfo<'a> {
pub metadata: &'a FuncMetadata,
pub namespace: Identifier,
pub script: Option<ScriptFnMetadata<'a>>,
}Expand description
Information about a function, native or scripted.
Exported under the internals feature only.
Fields§
§metadata: &'a FuncMetadataFunction metadata.
namespace: IdentifierFunction namespace.
Not available under no_module.
script: Option<ScriptFnMetadata<'a>>Metadata if the function is scripted.
Not available under no_function.
Auto Trait Implementations§
impl<'a> Freeze for FuncInfo<'a>
impl<'a> RefUnwindSafe for FuncInfo<'a>
impl<'a> Send for FuncInfo<'a>
impl<'a> Sync for FuncInfo<'a>
impl<'a> Unpin for FuncInfo<'a>
impl<'a> UnwindSafe for FuncInfo<'a>
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