[−]Struct elliptic_curve::consts::Z0
The type-level signed integer 0.
Implementations
impl Z0
Trait Implementations
impl Abs for Z0
impl<I> Add<I> for Z0 where
I: Integer,
I: Integer,
Z0 + I = I
type Output = I
The resulting type after applying the +
operator.
fn add(self, rhs: I) -> <Z0 as Add<I>>::Output
impl<U> Add<Z0> for PInt<U> where
U: NonZero + Unsigned,
U: NonZero + Unsigned,
PInt + Z0 = PInt
type Output = PInt<U>
The resulting type after applying the +
operator.
fn add(self, Z0) -> <PInt<U> as Add<Z0>>::Output
impl<U> Add<Z0> for NInt<U> where
U: NonZero + Unsigned,
U: NonZero + Unsigned,
NInt + Z0 = NInt
type Output = NInt<U>
The resulting type after applying the +
operator.
fn add(self, Z0) -> <NInt<U> as Add<Z0>>::Output
impl Clone for Z0
fn clone(&self) -> Z0
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<U> Cmp<NInt<U>> for Z0 where
U: NonZero + Unsigned,
U: NonZero + Unsigned,
0 > -X
type Output = Greater
The result of the comparison. It should only ever be one of Greater
, Less
, or Equal
.
fn compare<IM>(&self, &NInt<U>) -> <Z0 as Cmp<NInt<U>>>::Output where
IM: InternalMarker,
IM: InternalMarker,
impl<U> Cmp<PInt<U>> for Z0 where
U: NonZero + Unsigned,
U: NonZero + Unsigned,
0 < X
type Output = Less
The result of the comparison. It should only ever be one of Greater
, Less
, or Equal
.
fn compare<IM>(&self, &PInt<U>) -> <Z0 as Cmp<PInt<U>>>::Output where
IM: InternalMarker,
IM: InternalMarker,
impl Cmp<Z0> for Z0
0 == 0
type Output = Equal
The result of the comparison. It should only ever be one of Greater
, Less
, or Equal
.
fn compare<IM>(&self, &Z0) -> <Z0 as Cmp<Z0>>::Output where
IM: InternalMarker,
IM: InternalMarker,
impl Copy for Z0
impl Debug for Z0
impl Default for Z0
impl<I> Div<I> for Z0 where
I: NonZero + Integer,
I: NonZero + Integer,
Z0 / I = Z0
where I != 0
type Output = Z0
The resulting type after applying the /
operator.
fn div(self, I) -> <Z0 as Div<I>>::Output
impl Eq for Z0
impl<U> Gcd<NInt<U>> for Z0 where
U: Unsigned + NonZero,
U: Unsigned + NonZero,
type Output = PInt<U>
The greatest common divisor.
impl<U> Gcd<PInt<U>> for Z0 where
U: Unsigned + NonZero,
U: Unsigned + NonZero,
type Output = PInt<U>
The greatest common divisor.
impl Gcd<Z0> for Z0
impl Hash for Z0
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
__H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Integer for Z0
const I8: i8
const I16: i16
const I32: i32
const I64: i64
const ISIZE: isize
fn to_i8() -> i8
fn to_i16() -> i16
fn to_i32() -> i32
fn to_i64() -> i64
fn to_isize() -> isize
impl<U> Max<NInt<U>> for Z0 where
U: Unsigned + NonZero,
U: Unsigned + NonZero,
type Output = Z0
The type of the maximum of Self
and Rhs
fn max(self, NInt<U>) -> <Z0 as Max<NInt<U>>>::Output
impl<U> Max<PInt<U>> for Z0 where
U: Unsigned + NonZero,
U: Unsigned + NonZero,
type Output = PInt<U>
The type of the maximum of Self
and Rhs
fn max(self, rhs: PInt<U>) -> <Z0 as Max<PInt<U>>>::Output
impl Max<Z0> for Z0
impl<U> Min<NInt<U>> for Z0 where
U: Unsigned + NonZero,
U: Unsigned + NonZero,
type Output = NInt<U>
The type of the minimum of Self
and Rhs
fn min(self, rhs: NInt<U>) -> <Z0 as Min<NInt<U>>>::Output
impl<U> Min<PInt<U>> for Z0 where
U: Unsigned + NonZero,
U: Unsigned + NonZero,
type Output = Z0
The type of the minimum of Self
and Rhs
fn min(self, PInt<U>) -> <Z0 as Min<PInt<U>>>::Output
impl Min<Z0> for Z0
impl Mul<ATerm> for Z0
type Output = ATerm
The resulting type after applying the *
operator.
fn mul(self, ATerm) -> <Z0 as Mul<ATerm>>::Output
impl<I> Mul<I> for Z0 where
I: Integer,
I: Integer,
Z0 * I = Z0
type Output = Z0
The resulting type after applying the *
operator.
fn mul(self, I) -> <Z0 as Mul<I>>::Output
impl<V, A> Mul<TArr<V, A>> for Z0 where
Z0: Mul<A>,
Z0: Mul<A>,
type Output = TArr<Z0, <Z0 as Mul<A>>::Output>
The resulting type after applying the *
operator.
fn mul(self, rhs: TArr<V, A>) -> <Z0 as Mul<TArr<V, A>>>::Output
impl<U> Mul<Z0> for PInt<U> where
U: NonZero + Unsigned,
U: NonZero + Unsigned,
P * Z0 = Z0
type Output = Z0
The resulting type after applying the *
operator.
fn mul(self, Z0) -> <PInt<U> as Mul<Z0>>::Output
impl<U> Mul<Z0> for NInt<U> where
U: NonZero + Unsigned,
U: NonZero + Unsigned,
N * Z0 = Z0
type Output = Z0
The resulting type after applying the *
operator.
fn mul(self, Z0) -> <NInt<U> as Mul<Z0>>::Output
impl Neg for Z0
-Z0 = Z0
type Output = Z0
The resulting type after applying the -
operator.
fn neg(self) -> <Z0 as Neg>::Output
impl Ord for Z0
fn cmp(&self, other: &Z0) -> Ordering
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Z0> for Z0
impl PartialOrd<Z0> for Z0
fn partial_cmp(&self, other: &Z0) -> Option<Ordering>
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<U> Pow<NInt<U>> for Z0 where
U: NonZero + Unsigned,
U: NonZero + Unsigned,
0^N = 0
type Output = Z0
The result of the exponentiation.
fn powi(self, NInt<U>) -> <Z0 as Pow<NInt<U>>>::Output
impl<U> Pow<PInt<U>> for Z0 where
U: NonZero + Unsigned,
U: NonZero + Unsigned,
0^P = 0
type Output = Z0
The result of the exponentiation.
fn powi(self, PInt<U>) -> <Z0 as Pow<PInt<U>>>::Output
impl Pow<Z0> for Z0
0^0 = 1
type Output = PInt<UInt<UTerm, B1>>
The result of the exponentiation.
fn powi(self, Z0) -> <Z0 as Pow<Z0>>::Output
impl<I> Rem<I> for Z0 where
I: NonZero + Integer,
I: NonZero + Integer,
Z0 % I = Z0
where I != 0
type Output = Z0
The resulting type after applying the %
operator.
fn rem(self, I) -> <Z0 as Rem<I>>::Output
impl StructuralEq for Z0
impl StructuralPartialEq for Z0
impl<U> Sub<NInt<U>> for Z0 where
U: NonZero + Unsigned,
U: NonZero + Unsigned,
Z0 - N = P
type Output = PInt<U>
The resulting type after applying the -
operator.
fn sub(self, NInt<U>) -> <Z0 as Sub<NInt<U>>>::Output
impl<U> Sub<PInt<U>> for Z0 where
U: NonZero + Unsigned,
U: NonZero + Unsigned,
Z0 - P = N
type Output = NInt<U>
The resulting type after applying the -
operator.
fn sub(self, PInt<U>) -> <Z0 as Sub<PInt<U>>>::Output
impl<U> Sub<Z0> for PInt<U> where
U: NonZero + Unsigned,
U: NonZero + Unsigned,
PInt - Z0 = PInt
type Output = PInt<U>
The resulting type after applying the -
operator.
fn sub(self, Z0) -> <PInt<U> as Sub<Z0>>::Output
impl Sub<Z0> for Z0
Z0 - Z0 = Z0
type Output = Z0
The resulting type after applying the -
operator.
fn sub(self, Z0) -> <Z0 as Sub<Z0>>::Output
impl<U> Sub<Z0> for NInt<U> where
U: NonZero + Unsigned,
U: NonZero + Unsigned,
NInt - Z0 = NInt
Auto Trait Implementations
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> Conv for T
impl<T> FmtForward for T
fn fmt_binary(self) -> FmtBinary<Self> where
Self: Binary,
Self: Binary,
fn fmt_display(self) -> FmtDisplay<Self> where
Self: Display,
Self: Display,
fn fmt_lower_exp(self) -> FmtLowerExp<Self> where
Self: LowerExp,
Self: LowerExp,
fn fmt_lower_hex(self) -> FmtLowerHex<Self> where
Self: LowerHex,
Self: LowerHex,
fn fmt_octal(self) -> FmtOctal<Self> where
Self: Octal,
Self: Octal,
fn fmt_pointer(self) -> FmtPointer<Self> where
Self: Pointer,
Self: Pointer,
fn fmt_upper_exp(self) -> FmtUpperExp<Self> where
Self: UpperExp,
Self: UpperExp,
fn fmt_upper_hex(self) -> FmtUpperHex<Self> where
Self: UpperHex,
Self: UpperHex,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<A, B> IsEqual<B> for A where
A: Cmp<B> + IsEqualPrivate<B, <A as Cmp<B>>::Output>,
A: Cmp<B> + IsEqualPrivate<B, <A as Cmp<B>>::Output>,
type Output = <A as IsEqualPrivate<B, <A as Cmp<B>>::Output>>::Output
The type representing either True
or False
fn is_equal(self, rhs: B) -> <A as IsEqual<B>>::Output
impl<A, B> IsGreater<B> for A where
A: Cmp<B> + IsGreaterPrivate<B, <A as Cmp<B>>::Output>,
A: Cmp<B> + IsGreaterPrivate<B, <A as Cmp<B>>::Output>,
type Output = <A as IsGreaterPrivate<B, <A as Cmp<B>>::Output>>::Output
The type representing either True
or False
fn is_greater(self, rhs: B) -> <A as IsGreater<B>>::Output
impl<A, B> IsGreaterOrEqual<B> for A where
A: Cmp<B> + IsGreaterOrEqualPrivate<B, <A as Cmp<B>>::Output>,
A: Cmp<B> + IsGreaterOrEqualPrivate<B, <A as Cmp<B>>::Output>,
type Output = <A as IsGreaterOrEqualPrivate<B, <A as Cmp<B>>::Output>>::Output
The type representing either True
or False
fn is_greater_or_equal(self, rhs: B) -> <A as IsGreaterOrEqual<B>>::Output
impl<A, B> IsLess<B> for A where
A: Cmp<B> + IsLessPrivate<B, <A as Cmp<B>>::Output>,
A: Cmp<B> + IsLessPrivate<B, <A as Cmp<B>>::Output>,
type Output = <A as IsLessPrivate<B, <A as Cmp<B>>::Output>>::Output
The type representing either True
or False
fn is_less(self, rhs: B) -> <A as IsLess<B>>::Output
impl<A, B> IsLessOrEqual<B> for A where
A: Cmp<B> + IsLessOrEqualPrivate<B, <A as Cmp<B>>::Output>,
A: Cmp<B> + IsLessOrEqualPrivate<B, <A as Cmp<B>>::Output>,
type Output = <A as IsLessOrEqualPrivate<B, <A as Cmp<B>>::Output>>::Output
The type representing either True
or False
fn is_less_or_equal(self, rhs: B) -> <A as IsLessOrEqual<B>>::Output
impl<A, B> IsNotEqual<B> for A where
A: Cmp<B> + IsNotEqualPrivate<B, <A as Cmp<B>>::Output>,
A: Cmp<B> + IsNotEqualPrivate<B, <A as Cmp<B>>::Output>,
type Output = <A as IsNotEqualPrivate<B, <A as Cmp<B>>::Output>>::Output
The type representing either True
or False
fn is_not_equal(self, rhs: B) -> <A as IsNotEqual<B>>::Output
impl<M, N> PartialDiv<N> for M where
M: Integer + Div<N> + Rem<N, Output = Z0>,
M: Integer + Div<N> + Rem<N, Output = Z0>,
type Output = <M as Div<N>>::Output
The type of the result of the division
fn partial_div(self, rhs: N) -> <M as PartialDiv<N>>::Output
impl<T> Pipe for T
impl<T> PipeAsRef for T
fn pipe_as_ref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R where
R: 'a,
Self: AsRef<T>,
T: 'a,
R: 'a,
Self: AsRef<T>,
T: 'a,
fn pipe_as_mut<'a, T, R>(&'a mut self, func: impl FnOnce(&'a mut T) -> R) -> R where
R: 'a,
Self: AsMut<T>,
T: 'a,
R: 'a,
Self: AsMut<T>,
T: 'a,
impl<T> PipeBorrow for T
fn pipe_borrow<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R where
R: 'a,
Self: Borrow<T>,
T: 'a,
R: 'a,
Self: Borrow<T>,
T: 'a,
fn pipe_borrow_mut<'a, T, R>(
&'a mut self,
func: impl FnOnce(&'a mut T) -> R
) -> R where
R: 'a,
Self: BorrowMut<T>,
T: 'a,
&'a mut self,
func: impl FnOnce(&'a mut T) -> R
) -> R where
R: 'a,
Self: BorrowMut<T>,
T: 'a,
impl<T> PipeDeref for T
fn pipe_deref<'a, R>(&'a self, func: impl FnOnce(&'a Self::Target) -> R) -> R where
R: 'a,
Self: Deref,
R: 'a,
Self: Deref,
fn pipe_deref_mut<'a, R>(
&'a mut self,
func: impl FnOnce(&'a mut Self::Target) -> R
) -> R where
R: 'a,
Self: DerefMut,
&'a mut self,
func: impl FnOnce(&'a mut Self::Target) -> R
) -> R where
R: 'a,
Self: DerefMut,
impl<T> PipeRef for T
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> R where
R: 'a,
R: 'a,
fn pipe_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> R where
R: 'a,
R: 'a,
impl<X, N> Pow<N> for X where
N: Unsigned,
X: Unsigned + PrivatePow<UInt<UTerm, B1>, N>,
N: Unsigned,
X: Unsigned + PrivatePow<UInt<UTerm, B1>, N>,
type Output = <X as PrivatePow<UInt<UTerm, B1>, N>>::Output
The result of the exponentiation.
fn powi(self, n: N) -> <X as Pow<N>>::Output
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Tap for T
fn tap<F, R>(self, func: F) -> Self where
F: FnOnce(&Self) -> R,
F: FnOnce(&Self) -> R,
fn tap_dbg<F, R>(self, func: F) -> Self where
F: FnOnce(&Self) -> R,
F: FnOnce(&Self) -> R,
fn tap_mut<F, R>(self, func: F) -> Self where
F: FnOnce(&mut Self) -> R,
F: FnOnce(&mut Self) -> R,
fn tap_mut_dbg<F, R>(self, func: F) -> Self where
F: FnOnce(&mut Self) -> R,
F: FnOnce(&mut Self) -> R,
impl<T, U> TapAsRef<U> for T where
U: ?Sized,
U: ?Sized,
fn tap_ref<F, R>(self, func: F) -> Self where
F: FnOnce(&T) -> R,
Self: AsRef<T>,
F: FnOnce(&T) -> R,
Self: AsRef<T>,
fn tap_ref_dbg<F, R>(self, func: F) -> Self where
F: FnOnce(&T) -> R,
Self: AsRef<T>,
F: FnOnce(&T) -> R,
Self: AsRef<T>,
fn tap_ref_mut<F, R>(self, func: F) -> Self where
F: FnOnce(&mut T) -> R,
Self: AsMut<T>,
F: FnOnce(&mut T) -> R,
Self: AsMut<T>,
fn tap_ref_mut_dbg<F, R>(self, func: F) -> Self where
F: FnOnce(&mut T) -> R,
Self: AsMut<T>,
F: FnOnce(&mut T) -> R,
Self: AsMut<T>,
impl<T, U> TapBorrow<U> for T where
U: ?Sized,
U: ?Sized,
fn tap_borrow<F, R>(self, func: F) -> Self where
F: FnOnce(&T) -> R,
Self: Borrow<T>,
F: FnOnce(&T) -> R,
Self: Borrow<T>,
fn tap_borrow_dbg<F, R>(self, func: F) -> Self where
F: FnOnce(&T) -> R,
Self: Borrow<T>,
F: FnOnce(&T) -> R,
Self: Borrow<T>,
fn tap_borrow_mut<F, R>(self, func: F) -> Self where
F: FnOnce(&mut T) -> R,
Self: BorrowMut<T>,
F: FnOnce(&mut T) -> R,
Self: BorrowMut<T>,
fn tap_borrow_mut_dbg<F, R>(self, func: F) -> Self where
F: FnOnce(&mut T) -> R,
Self: BorrowMut<T>,
F: FnOnce(&mut T) -> R,
Self: BorrowMut<T>,
impl<T> TapDeref for T
fn tap_deref<F, R>(self, func: F) -> Self where
F: FnOnce(&Self::Target) -> R,
Self: Deref,
F: FnOnce(&Self::Target) -> R,
Self: Deref,
fn tap_deref_dbg<F, R>(self, func: F) -> Self where
F: FnOnce(&Self::Target) -> R,
Self: Deref,
F: FnOnce(&Self::Target) -> R,
Self: Deref,
fn tap_deref_mut<F, R>(self, func: F) -> Self where
F: FnOnce(&mut Self::Target) -> R,
Self: DerefMut,
F: FnOnce(&mut Self::Target) -> R,
Self: DerefMut,
fn tap_deref_mut_dbg<F, R>(self, func: F) -> Self where
F: FnOnce(&mut Self::Target) -> R,
Self: DerefMut,
F: FnOnce(&mut Self::Target) -> R,
Self: DerefMut,
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> TryConv for T
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>,