pub struct Point { /* private fields */ }
Implementations§
source§impl Point
impl Point
pub fn infinity() -> Point
pub fn generator() -> Point
pub fn try_hash_to_curve(slice: &[u8]) -> Option<Point>
pub fn hash_to_curve(slice: &[u8]) -> Point
pub fn random_generator(drg: &mut Drg) -> Point
pub fn from_scalar(s: &Scalar) -> Point
pub fn mul(&self, s: &Scalar) -> Point
pub fn inverse(&self) -> Point
pub fn from_bytes(slice: &[u8]) -> Option<Point>
pub fn to_bytes(&self) -> Vec<u8>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Point
impl Send for Point
impl Sync for Point
impl Unpin for Point
impl UnwindSafe for Point
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