pub trait AffineCoords<F>: Clone {
// Required methods
fn new(x: F, y: F) -> Self;
fn x(&self) -> F;
fn y(&self) -> F;
fn neg(&self) -> Self;
fn random(rng: &mut impl Rng) -> Self;
fn generator() -> Self;
fn is_infinity(&self) -> bool;
}
Required Methods§
Sourcefn is_infinity(&self) -> bool
fn is_infinity(&self) -> bool
Returns whether the point is the point at infinity or not.
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.