pub struct MontgomeryAffine<P: MontgomeryParameters> {
pub x: P::BaseField,
pub y: P::BaseField,
}
Fields
x: P::BaseField
y: P::BaseField
Implementations
sourceimpl<P: MontgomeryParameters> MontgomeryAffine<P>
impl<P: MontgomeryParameters> MontgomeryAffine<P>
Trait Implementations
sourceimpl<P: MontgomeryParameters> Clone for MontgomeryAffine<P> where
P: MontgomeryParameters,
impl<P: MontgomeryParameters> Clone for MontgomeryAffine<P> where
P: MontgomeryParameters,
sourceimpl<P: MontgomeryParameters> Debug for MontgomeryAffine<P> where
P: MontgomeryParameters,
impl<P: MontgomeryParameters> Debug for MontgomeryAffine<P> where
P: MontgomeryParameters,
sourceimpl<P: MontgomeryParameters> Display for MontgomeryAffine<P>
impl<P: MontgomeryParameters> Display for MontgomeryAffine<P>
sourceimpl<P: MontgomeryParameters> Hash for MontgomeryAffine<P> where
P: MontgomeryParameters,
impl<P: MontgomeryParameters> Hash for MontgomeryAffine<P> where
P: MontgomeryParameters,
sourceimpl<P: MontgomeryParameters> PartialEq<MontgomeryAffine<P>> for MontgomeryAffine<P> where
P: MontgomeryParameters,
impl<P: MontgomeryParameters> PartialEq<MontgomeryAffine<P>> for MontgomeryAffine<P> where
P: MontgomeryParameters,
impl<P: MontgomeryParameters> Copy for MontgomeryAffine<P> where
P: MontgomeryParameters,
impl<P: MontgomeryParameters> Eq for MontgomeryAffine<P> where
P: MontgomeryParameters,
Auto Trait Implementations
impl<P> RefUnwindSafe for MontgomeryAffine<P> where
<P as ModelParameters>::BaseField: RefUnwindSafe,
impl<P> Send for MontgomeryAffine<P>
impl<P> Sync for MontgomeryAffine<P>
impl<P> Unpin for MontgomeryAffine<P> where
<P as ModelParameters>::BaseField: Unpin,
impl<P> UnwindSafe for MontgomeryAffine<P> where
<P as ModelParameters>::BaseField: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more