#[repr(C)]pub struct sxt_bn254_g1 {
pub X: [u64; 4],
pub Y: [u64; 4],
pub infinity: u8,
}Expand description
encodes an affine element of the bn254 G1 group
Fields§
§X: [u64; 4]§Y: [u64; 4]§infinity: u8Trait Implementations§
Source§impl Clone for sxt_bn254_g1
impl Clone for sxt_bn254_g1
Source§fn clone(&self) -> sxt_bn254_g1
fn clone(&self) -> sxt_bn254_g1
Returns a duplicate 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 Debug for sxt_bn254_g1
impl Debug for sxt_bn254_g1
impl Copy for sxt_bn254_g1
Auto Trait Implementations§
impl Freeze for sxt_bn254_g1
impl RefUnwindSafe for sxt_bn254_g1
impl Send for sxt_bn254_g1
impl Sync for sxt_bn254_g1
impl Unpin for sxt_bn254_g1
impl UnwindSafe for sxt_bn254_g1
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