[−][src]Struct gcrypt::mpi::point::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]
x: Option<Integer>,
y: Option<Integer>,
z: Option<Integer>
) -> Point
pub fn set(
&mut self,
x: Option<Integer>,
y: Option<Integer>,
z: Option<Integer>
)
[src]
&mut self,
x: Option<Integer>,
y: Option<Integer>,
z: Option<Integer>
)
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,