Struct ethcore_builtin::Bls12MultiexpPricer
source · [−]pub struct Bls12MultiexpPricer<P: PointScalarLength> {
pub base_price: Bls12ConstOperations,
/* private fields */
}
Expand description
Pricing for constant Bls12 operations (ADD and MUL in G1 and G2, as well as mappings)
Fields
base_price: Bls12ConstOperations
Base const of the operation (G1 or G2 multiplication)
Trait Implementations
sourceimpl<P: Clone + PointScalarLength> Clone for Bls12MultiexpPricer<P>
impl<P: Clone + PointScalarLength> Clone for Bls12MultiexpPricer<P>
sourcefn clone(&self) -> Bls12MultiexpPricer<P>
fn clone(&self) -> Bls12MultiexpPricer<P>
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 more
sourceimpl<P: Debug + PointScalarLength> Debug for Bls12MultiexpPricer<P>
impl<P: Debug + PointScalarLength> Debug for Bls12MultiexpPricer<P>
impl<P: Copy + PointScalarLength> Copy for Bls12MultiexpPricer<P>
Auto Trait Implementations
impl<P> RefUnwindSafe for Bls12MultiexpPricer<P> where
P: RefUnwindSafe,
impl<P> Send for Bls12MultiexpPricer<P>
impl<P> Sync for Bls12MultiexpPricer<P>
impl<P> Unpin for Bls12MultiexpPricer<P> where
P: Unpin,
impl<P> UnwindSafe for Bls12MultiexpPricer<P> where
P: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more