Struct clarity_repl::repl::CostSynthesis
source · [−]pub struct CostSynthesis {
pub total: ExecutionCost,
pub limit: ExecutionCost,
pub memory: u64,
pub memory_limit: u64,
}
Fields
total: ExecutionCost
limit: ExecutionCost
memory: u64
memory_limit: u64
Implementations
sourceimpl CostSynthesis
impl CostSynthesis
pub fn from_cost_tracker(cost_tracker: &LimitedCostTracker) -> CostSynthesis
Trait Implementations
sourceimpl Clone for CostSynthesis
impl Clone for CostSynthesis
sourcefn clone(&self) -> CostSynthesis
fn clone(&self) -> CostSynthesis
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for CostSynthesis
impl Send for CostSynthesis
impl Sync for CostSynthesis
impl Unpin for CostSynthesis
impl UnwindSafe for CostSynthesis
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more