Struct secp256kfun::marker::NonZero [−][src]
Something marked with NonZero
is guaranteed not to be 0.
Trait Implementations
impl<Z, S, T> ChangeMark<Point<T, S, Z>> for NonZero
[src]
type Out = Option<Point<T, S, NonZero>>
The result type of marking T
with Self
fn change_mark(point: Point<T, S, Z>) -> Self::Out
[src]
impl<Z, S> ChangeMark<Scalar<S, Z>> for NonZero
[src]
type Out = Option<Scalar<S, NonZero>>
The result type of marking T
with Self
fn change_mark(scalar: Scalar<S, Z>) -> Self::Out
[src]
impl Clone for NonZero
[src]
impl Copy for NonZero
[src]
impl Debug for NonZero
[src]
impl<Z: ZeroChoice> DecideZero<Z> for NonZero
[src]
type Out = Z
If both arguments are NonZero
then Out
will be NonZero
, otherwise Zero
.
impl Default for NonZero
[src]
impl PartialEq<NonZero> for NonZero
[src]
fn eq(&self, other: &NonZero) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for NonZero
[src]
impl ZeroChoice for NonZero
[src]
Auto Trait Implementations
impl RefUnwindSafe for NonZero
impl Send for NonZero
impl Sync for NonZero
impl Unpin for NonZero
impl UnwindSafe for NonZero
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,
pub 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> Mark for T
[src]
#[must_use]pub fn mark<M>(Self) -> <M as ChangeMark<T>>::Out where
M: ChangeMark<T>,
[src]
M: ChangeMark<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,