Struct polkavm_common::program::ProgramImport
source · pub struct ProgramImport<'a> { /* private fields */ }
Implementations§
source§impl<'a> ProgramImport<'a>
impl<'a> ProgramImport<'a>
pub fn new(symbol: ProgramSymbol<'a>) -> Self
pub fn symbol(&self) -> &ProgramSymbol<'a>
Trait Implementations§
source§impl<'a> Clone for ProgramImport<'a>
impl<'a> Clone for ProgramImport<'a>
source§fn clone(&self) -> ProgramImport<'a>
fn clone(&self) -> ProgramImport<'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 ProgramImport<'a>
impl<'a> Debug for ProgramImport<'a>
source§impl<'a> PartialEq for ProgramImport<'a>
impl<'a> PartialEq for ProgramImport<'a>
source§fn eq(&self, other: &ProgramImport<'a>) -> bool
fn eq(&self, other: &ProgramImport<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Eq for ProgramImport<'a>
impl<'a> StructuralPartialEq for ProgramImport<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ProgramImport<'a>
impl<'a> Send for ProgramImport<'a>
impl<'a> Sync for ProgramImport<'a>
impl<'a> Unpin for ProgramImport<'a>
impl<'a> UnwindSafe for ProgramImport<'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