pub struct EpochProgram<N: Network> { /* private fields */ }
Implementations§
Source§impl<N: Network> EpochProgram<N>
impl<N: Network> EpochProgram<N>
Source§impl<N: Network> EpochProgram<N>
impl<N: Network> EpochProgram<N>
Source§impl<N: Network> EpochProgram<N>
impl<N: Network> EpochProgram<N>
Source§impl<N: Network> EpochProgram<N>
impl<N: Network> EpochProgram<N>
Source§impl<N: Network> EpochProgram<N>
impl<N: Network> EpochProgram<N>
Sourcepub const fn register_table(&self) -> &RegisterTable
pub const fn register_table(&self) -> &RegisterTable
Returns the register table.
Sourcepub const fn epoch_hash(&self) -> N::BlockHash
pub const fn epoch_hash(&self) -> N::BlockHash
Returns the epoch.
Sourcepub fn instructions(&self) -> Result<&[Instruction<N>]>
pub fn instructions(&self) -> Result<&[Instruction<N>]>
Returns the instructions for the program.
Trait Implementations§
Source§impl<N: Clone + Network> Clone for EpochProgram<N>
impl<N: Clone + Network> Clone for EpochProgram<N>
Source§fn clone(&self) -> EpochProgram<N>
fn clone(&self) -> EpochProgram<N>
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<N: Network> Debug for EpochProgram<N>
impl<N: Network> Debug for EpochProgram<N>
Source§impl<N: Network> Deref for EpochProgram<N>
impl<N: Network> Deref for EpochProgram<N>
Source§type Target = ProgramCore<N, Instruction<N>, Command<N>>
type Target = ProgramCore<N, Instruction<N>, Command<N>>
The resulting type after dereferencing.
Source§impl<N: Network> PartialEq for EpochProgram<N>
impl<N: Network> PartialEq for EpochProgram<N>
impl<N: Network> Eq for EpochProgram<N>
Auto Trait Implementations§
impl<N> Freeze for EpochProgram<N>where
<N as Network>::BlockHash: Freeze,
<N as Environment>::Projective: Freeze,
<N as Environment>::Field: Freeze,
impl<N> !RefUnwindSafe for EpochProgram<N>
impl<N> Send for EpochProgram<N>
impl<N> Sync for EpochProgram<N>
impl<N> Unpin for EpochProgram<N>where
<N as Network>::BlockHash: Unpin,
<N as Environment>::Projective: Unpin,
<N as Environment>::Field: Unpin,
N: Unpin,
<N as Environment>::Scalar: Unpin,
impl<N> !UnwindSafe for EpochProgram<N>
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more