Module as_raw

Source
Expand description

Accessing backend library representation of point/scalar

You don’t normally need to use traits from this module

Point<E> and Scalar<E> provide convenient interface for doing EC arithmetic, while wrapping E::Point and E::Scalar which actually implement EC arithmetic. You may want to access wrapped E::Point and E::Scalar if you lack some functionality that cannot be implemented on top of Point<E> and Scalar<E>.

Traits§

AsRaw
Accesses backend library representation of the point/scalar
FromRaw
Constructs a point/scalar from its backend library representation when conversion can be done infallibly
TryFromRaw
Constructs a point/scalar from its backend library representation