pub trait CommitmentTrait<E: Engine>:
Clone
+ Copy
+ Debug
+ Default
+ PartialEq
+ Eq
+ Send
+ Sync
+ TranscriptReprTrait<E::GE>
+ Serialize
+ for<'de> Deserialize<'de>
+ AbsorbInROTrait<E>
+ AbsorbInRO2Trait<E>
+ Add<Self, Output = Self>
+ ScalarMul<E::Scalar> {
// Required method
fn to_coordinates(&self) -> (E::Base, E::Base, bool);
}Expand description
This trait defines the behavior of the commitment
Required Methods§
Sourcefn to_coordinates(&self) -> (E::Base, E::Base, bool)
fn to_coordinates(&self) -> (E::Base, E::Base, bool)
Returns the coordinate representation of the commitment
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.