pub trait FromRaw: AsRaw {
    // Required method
    fn from_raw(raw: Self::Raw) -> Self;
}
Expand description

Constructs a point/scalar from its backend library representation when conversion can be done infallibly

Required Methods§

source

fn from_raw(raw: Self::Raw) -> Self

Infallibly wraps raw value

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<E: Curve> FromRaw for Scalar<E>