pub trait Point: Element {
type Error: Debug;
// Required method
fn map(&mut self, data: &[u8]) -> Result<(), <Self as Point>::Error>;
}Expand description
Basic point functionality that can be multiplied by a scalar
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
Source§impl Point for threshold_bls::curve::bls12381::G1
Implementation of Point using G1 from BLS12_381
impl Point for threshold_bls::curve::bls12381::G1
Implementation of Point using G1 from BLS12_381
type Error = BLS12Error
Source§impl Point for threshold_bls::curve::bls12381::G2
Implementation of Point using G2 from BLS12_381
impl Point for threshold_bls::curve::bls12381::G2
Implementation of Point using G2 from BLS12_381