pub struct ProgramExport<T> { /* private fields */ }
Implementations§
Source§impl<T> ProgramExport<T>
impl<T> ProgramExport<T>
pub fn new(program_counter: ProgramCounter, symbol: ProgramSymbol<T>) -> Self
pub fn program_counter(&self) -> ProgramCounter
pub fn symbol(&self) -> &ProgramSymbol<T>
Trait Implementations§
Source§impl<T: Clone> Clone for ProgramExport<T>
impl<T: Clone> Clone for ProgramExport<T>
Source§fn clone(&self) -> ProgramExport<T>
fn clone(&self) -> ProgramExport<T>
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<T: Debug> Debug for ProgramExport<T>
impl<T: Debug> Debug for ProgramExport<T>
Source§impl<T> PartialEq<str> for ProgramExport<T>
impl<T> PartialEq<str> for ProgramExport<T>
Source§impl<T: PartialEq> PartialEq for ProgramExport<T>
impl<T: PartialEq> PartialEq for ProgramExport<T>
impl<T: Eq> Eq for ProgramExport<T>
impl<T> StructuralPartialEq for ProgramExport<T>
Auto Trait Implementations§
impl<T> Freeze for ProgramExport<T>where
T: Freeze,
impl<T> RefUnwindSafe for ProgramExport<T>where
T: RefUnwindSafe,
impl<T> Send for ProgramExport<T>where
T: Send,
impl<T> Sync for ProgramExport<T>where
T: Sync,
impl<T> Unpin for ProgramExport<T>where
T: Unpin,
impl<T> UnwindSafe for ProgramExport<T>where
T: UnwindSafe,
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