[−][src]Struct secp256kfun::marker::NonZero
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 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]
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Z, S, Y, SNew> ChangeMark<Point<Y, S, Z>> for SNew where
SNew: Secrecy,
[src]
SNew: Secrecy,
type Out = Point<Y, SNew, Z>
The result type of marking T
with Self
fn change_mark(Point<Y, S, Z>) -> <SNew as ChangeMark<Point<Y, S, Z>>>::Out
[src]
impl<Z, S, SNew> ChangeMark<Scalar<S, Z>> for SNew where
SNew: Secrecy,
[src]
SNew: Secrecy,
type Out = Scalar<SNew, Z>
The result type of marking T
with Self
fn change_mark(Scalar<S, Z>) -> <SNew as ChangeMark<Scalar<S, Z>>>::Out
[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]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.
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>,