pub struct EntryPoint {
pub kind: EntryPointKind,
pub fptr: fn(),
pub module_path: &'static str,
pub file: &'static str,
pub line: u32,
}Expand description
Export is a structure that contains information about the exported function.
This is used to register the export and its name and physical location in the smart contract source code.
Fields§
§kind: EntryPointKindThe kind of entry point that is being registered.
fptr: fn()§module_path: &'static str§file: &'static str§line: u32Trait Implementations§
Auto Trait Implementations§
impl Freeze for EntryPoint
impl RefUnwindSafe for EntryPoint
impl Send for EntryPoint
impl Sync for EntryPoint
impl Unpin for EntryPoint
impl UnsafeUnpin for EntryPoint
impl UnwindSafe for EntryPoint
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