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