Struct polkavm_common::program::ProgramExport
source · pub struct ProgramExport<'a> { /* private fields */ }
Implementations§
source§impl<'a> ProgramExport<'a>
impl<'a> ProgramExport<'a>
pub fn new(jump_target: u32, symbol: ProgramSymbol<'a>) -> Self
pub fn jump_target(&self) -> u32
pub fn symbol(&self) -> &ProgramSymbol<'a>
pub fn into_owned(self) -> ProgramExport<'static>
Trait Implementations§
source§impl<'a> Clone for ProgramExport<'a>
impl<'a> Clone for ProgramExport<'a>
source§fn clone(&self) -> ProgramExport<'a>
fn clone(&self) -> ProgramExport<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for ProgramExport<'a>
impl<'a> Debug for ProgramExport<'a>
source§impl<'a> PartialEq for ProgramExport<'a>
impl<'a> PartialEq for ProgramExport<'a>
source§fn eq(&self, other: &ProgramExport<'a>) -> bool
fn eq(&self, other: &ProgramExport<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Eq for ProgramExport<'a>
impl<'a> StructuralPartialEq for ProgramExport<'a>
Auto Trait Implementations§
impl<'a> Freeze for ProgramExport<'a>
impl<'a> RefUnwindSafe for ProgramExport<'a>
impl<'a> Send for ProgramExport<'a>
impl<'a> Sync for ProgramExport<'a>
impl<'a> Unpin for ProgramExport<'a>
impl<'a> UnwindSafe for ProgramExport<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)