Struct switchboard_solana::oracle_program::accounts::ecvrf::CompletedPoint
source · #[repr(C)]pub struct CompletedPoint {
pub X: FieldElement51,
pub Y: FieldElement51,
pub Z: FieldElement51,
pub T: FieldElement51,
}
Expand description
A CompletedPoint
is a point \(((X:Z), (Y:T))\) on the \(\mathbb
P^1 \times \mathbb P^1 \) model of the curve.
A point (x,y) in the affine model corresponds to \( ((x:1),(y:1))
\).
More details on the relationships between the different curve models can be found in the module-level documentation.
Fields§
§X: FieldElement51
§Y: FieldElement51
§Z: FieldElement51
§T: FieldElement51
Trait Implementations§
source§impl Clone for CompletedPoint
impl Clone for CompletedPoint
source§fn clone(&self) -> CompletedPoint
fn clone(&self) -> CompletedPoint
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl From<CompletedPoint> for CompletedPointZC
impl From<CompletedPoint> for CompletedPointZC
source§fn from(val: CompletedPoint) -> Self
fn from(val: CompletedPoint) -> Self
Converts to this type from the input type.
source§impl From<CompletedPointZC> for CompletedPoint
impl From<CompletedPointZC> for CompletedPoint
source§fn from(val: CompletedPointZC) -> Self
fn from(val: CompletedPointZC) -> Self
Converts to this type from the input type.
impl Copy for CompletedPoint
impl Pod for CompletedPoint
Auto Trait Implementations§
impl RefUnwindSafe for CompletedPoint
impl Send for CompletedPoint
impl Sync for CompletedPoint
impl Unpin for CompletedPoint
impl UnwindSafe for CompletedPoint
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.