#[repr(C)]pub struct G2(/* private fields */);
Implementations§
Source§impl G2
impl G2
pub fn new(x: Fq2, y: Fq2, z: Fq2) -> Self
pub fn x(&self) -> Fq2
pub fn set_x(&mut self, x: Fq2)
pub fn y(&self) -> Fq2
pub fn set_y(&mut self, y: Fq2)
pub fn z(&self) -> Fq2
pub fn set_z(&mut self, z: Fq2)
pub fn b() -> Fq2
pub fn from_compressed(bytes: &[u8]) -> Result<Self, CurveError>
Trait Implementations§
impl Copy for G2
impl Eq for G2
impl StructuralPartialEq for G2
Auto Trait Implementations§
impl Freeze for G2
impl RefUnwindSafe for G2
impl Send for G2
impl Sync for G2
impl Unpin for G2
impl UnwindSafe for G2
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