pub struct ConstantField<P, S>(/* private fields */);
Trait Implementations§
Source§impl<Rhs, P, S> Add<Rhs> for ConstantField<P, S>where
Rhs: ScalarField<Point = <ConstantField<P, S> as ScalarField>::Point>,
<ConstantField<P, S> as ScalarField>::Scalar: Add<Rhs::Scalar>,
S: Clone,
impl<Rhs, P, S> Add<Rhs> for ConstantField<P, S>where
Rhs: ScalarField<Point = <ConstantField<P, S> as ScalarField>::Point>,
<ConstantField<P, S> as ScalarField>::Scalar: Add<Rhs::Scalar>,
S: Clone,
Source§impl<Rhs, P, S> BitAnd<Rhs> for ConstantField<P, S>where
Rhs: ScalarField<Point = <ConstantField<P, S> as ScalarField>::Point>,
<ConstantField<P, S> as ScalarField>::Scalar: BitAnd<Rhs::Scalar>,
S: Clone,
impl<Rhs, P, S> BitAnd<Rhs> for ConstantField<P, S>where
Rhs: ScalarField<Point = <ConstantField<P, S> as ScalarField>::Point>,
<ConstantField<P, S> as ScalarField>::Scalar: BitAnd<Rhs::Scalar>,
S: Clone,
Source§type Output = BitAndField<ConstantField<P, S>, Rhs>
type Output = BitAndField<ConstantField<P, S>, Rhs>
The resulting type after applying the
&
operator.Source§impl<Rhs, P, S> BitOr<Rhs> for ConstantField<P, S>where
Rhs: ScalarField<Point = <ConstantField<P, S> as ScalarField>::Point>,
<ConstantField<P, S> as ScalarField>::Scalar: BitOr<Rhs::Scalar>,
S: Clone,
impl<Rhs, P, S> BitOr<Rhs> for ConstantField<P, S>where
Rhs: ScalarField<Point = <ConstantField<P, S> as ScalarField>::Point>,
<ConstantField<P, S> as ScalarField>::Scalar: BitOr<Rhs::Scalar>,
S: Clone,
Source§type Output = BitOrField<ConstantField<P, S>, Rhs>
type Output = BitOrField<ConstantField<P, S>, Rhs>
The resulting type after applying the
|
operator.Source§impl<Rhs, P, S> BitXor<Rhs> for ConstantField<P, S>where
Rhs: ScalarField<Point = <ConstantField<P, S> as ScalarField>::Point>,
<ConstantField<P, S> as ScalarField>::Scalar: BitXor<Rhs::Scalar>,
S: Clone,
impl<Rhs, P, S> BitXor<Rhs> for ConstantField<P, S>where
Rhs: ScalarField<Point = <ConstantField<P, S> as ScalarField>::Point>,
<ConstantField<P, S> as ScalarField>::Scalar: BitXor<Rhs::Scalar>,
S: Clone,
Source§type Output = BitXorField<ConstantField<P, S>, Rhs>
type Output = BitXorField<ConstantField<P, S>, Rhs>
The resulting type after applying the
^
operator.Source§impl<P: Clone, S: Clone> Clone for ConstantField<P, S>
impl<P: Clone, S: Clone> Clone for ConstantField<P, S>
Source§fn clone(&self) -> ConstantField<P, S>
fn clone(&self) -> ConstantField<P, S>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<Rhs, P, S> Div<Rhs> for ConstantField<P, S>where
Rhs: ScalarField<Point = <ConstantField<P, S> as ScalarField>::Point>,
<ConstantField<P, S> as ScalarField>::Scalar: Div<Rhs::Scalar>,
S: Clone,
impl<Rhs, P, S> Div<Rhs> for ConstantField<P, S>where
Rhs: ScalarField<Point = <ConstantField<P, S> as ScalarField>::Point>,
<ConstantField<P, S> as ScalarField>::Scalar: Div<Rhs::Scalar>,
S: Clone,
Source§impl<Rhs, P, S> Mul<Rhs> for ConstantField<P, S>where
Rhs: ScalarField<Point = <ConstantField<P, S> as ScalarField>::Point>,
<ConstantField<P, S> as ScalarField>::Scalar: Mul<Rhs::Scalar>,
S: Clone,
impl<Rhs, P, S> Mul<Rhs> for ConstantField<P, S>where
Rhs: ScalarField<Point = <ConstantField<P, S> as ScalarField>::Point>,
<ConstantField<P, S> as ScalarField>::Scalar: Mul<Rhs::Scalar>,
S: Clone,
Source§impl<P, S> Neg for ConstantField<P, S>
impl<P, S> Neg for ConstantField<P, S>
Source§impl<P, S> Not for ConstantField<P, S>
impl<P, S> Not for ConstantField<P, S>
Source§impl<Rhs, P, S> Rem<Rhs> for ConstantField<P, S>where
Rhs: ScalarField<Point = <ConstantField<P, S> as ScalarField>::Point>,
<ConstantField<P, S> as ScalarField>::Scalar: Rem<Rhs::Scalar>,
S: Clone,
impl<Rhs, P, S> Rem<Rhs> for ConstantField<P, S>where
Rhs: ScalarField<Point = <ConstantField<P, S> as ScalarField>::Point>,
<ConstantField<P, S> as ScalarField>::Scalar: Rem<Rhs::Scalar>,
S: Clone,
Source§impl<P, S: Clone> ScalarField for ConstantField<P, S>
impl<P, S: Clone> ScalarField for ConstantField<P, S>
Source§impl<Rhs, P, S> Shl<Rhs> for ConstantField<P, S>where
Rhs: ScalarField<Point = <ConstantField<P, S> as ScalarField>::Point>,
<ConstantField<P, S> as ScalarField>::Scalar: Shl<Rhs::Scalar>,
S: Clone,
impl<Rhs, P, S> Shl<Rhs> for ConstantField<P, S>where
Rhs: ScalarField<Point = <ConstantField<P, S> as ScalarField>::Point>,
<ConstantField<P, S> as ScalarField>::Scalar: Shl<Rhs::Scalar>,
S: Clone,
Source§impl<Rhs, P, S> Shr<Rhs> for ConstantField<P, S>where
Rhs: ScalarField<Point = <ConstantField<P, S> as ScalarField>::Point>,
<ConstantField<P, S> as ScalarField>::Scalar: Shr<Rhs::Scalar>,
S: Clone,
impl<Rhs, P, S> Shr<Rhs> for ConstantField<P, S>where
Rhs: ScalarField<Point = <ConstantField<P, S> as ScalarField>::Point>,
<ConstantField<P, S> as ScalarField>::Scalar: Shr<Rhs::Scalar>,
S: Clone,
Source§impl<Rhs, P, S> Sub<Rhs> for ConstantField<P, S>where
Rhs: ScalarField<Point = <ConstantField<P, S> as ScalarField>::Point>,
<ConstantField<P, S> as ScalarField>::Scalar: Sub<Rhs::Scalar>,
S: Clone,
impl<Rhs, P, S> Sub<Rhs> for ConstantField<P, S>where
Rhs: ScalarField<Point = <ConstantField<P, S> as ScalarField>::Point>,
<ConstantField<P, S> as ScalarField>::Scalar: Sub<Rhs::Scalar>,
S: Clone,
impl<P: Copy, S: Copy> Copy for ConstantField<P, S>
Auto Trait Implementations§
impl<P, S> Freeze for ConstantField<P, S>where
S: Freeze,
impl<P, S> RefUnwindSafe for ConstantField<P, S>where
S: RefUnwindSafe,
P: RefUnwindSafe,
impl<P, S> Send for ConstantField<P, S>
impl<P, S> Sync for ConstantField<P, S>
impl<P, S> Unpin for ConstantField<P, S>
impl<P, S> UnwindSafe for ConstantField<P, S>where
S: UnwindSafe,
P: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more