[][src]Struct gcrypt::mpi::point::Point

pub struct Point(_);

Methods

impl Point[src]

pub unsafe fn from_raw(raw: gcry_mpi_point_t) -> Self[src]

pub fn as_raw(&self) -> gcry_mpi_point_t[src]

pub fn into_raw(self) -> gcry_mpi_point_t[src]

pub fn zero() -> Point[src]

pub fn new(nbits: u32) -> Point[src]

pub fn from_coords(
    x: Option<Integer>,
    y: Option<Integer>,
    z: Option<Integer>
) -> Point
[src]

pub fn set(
    &mut self,
    x: Option<Integer>,
    y: Option<Integer>,
    z: Option<Integer>
)
[src]

pub fn to_coords(&self) -> (Integer, Integer, Integer)[src]

pub fn into_coords(self) -> (Integer, Integer, Integer)[src]

pub fn get_affine(&self, ctx: &Context) -> Option<(Integer, Integer)>[src]

pub fn on_curve(&self, ctx: &Context) -> bool[src]

pub fn add(self, other: &Point, ctx: &Context) -> Point[src]

pub fn mul(self, n: &Integer, ctx: &Context) -> Point[src]

Trait Implementations

impl Clone for Point[src]

impl Debug for Point[src]

impl Default for Point[src]

impl Drop for Point[src]

impl From<(Integer, Integer, Integer)> for Point[src]

impl Into<(Integer, Integer, Integer)> for Point[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.