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: FieldElement51Trait 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 Into<CompletedPoint> for CompletedPointZC
impl Into<CompletedPoint> for CompletedPointZC
source§fn into(self) -> CompletedPoint
fn into(self) -> CompletedPoint
Converts this type into the (usually inferred) input type.
source§impl Into<CompletedPointZC> for CompletedPoint
impl Into<CompletedPointZC> for CompletedPoint
source§fn into(self) -> CompletedPointZC
fn into(self) -> CompletedPointZC
Converts this type into the (usually inferred) 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§
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
source§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.source§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.