Struct bellman::domain::Scalar [] [src]

pub struct Scalar<E: Engine>(pub E::Fr);

Trait Implementations

impl<E: Engine> PartialEq for Scalar<E>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl<E: Engine> Copy for Scalar<E>
[src]

impl<E: Engine> Clone for Scalar<E>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<E: Engine> Group<E> for Scalar<E>
[src]

[src]

[src]

[src]

[src]

Auto Trait Implementations

impl<E> Send for Scalar<E> where
    <E as Engine>::Fr: Send

impl<E> Sync for Scalar<E> where
    <E as Engine>::Fr: Sync