pub struct FunctionField<P, F>(/* private fields */);
Trait Implementations§
Source§impl<Rhs, P, S, F> Add<Rhs> for FunctionField<P, F>where
Rhs: ScalarField<Point = <FunctionField<P, F> as ScalarField>::Point>,
<FunctionField<P, F> as ScalarField>::Scalar: Add<Rhs::Scalar>,
F: Fn(P) -> S,
impl<Rhs, P, S, F> Add<Rhs> for FunctionField<P, F>where
Rhs: ScalarField<Point = <FunctionField<P, F> as ScalarField>::Point>,
<FunctionField<P, F> as ScalarField>::Scalar: Add<Rhs::Scalar>,
F: Fn(P) -> S,
Source§impl<Rhs, P, S, F> BitAnd<Rhs> for FunctionField<P, F>where
Rhs: ScalarField<Point = <FunctionField<P, F> as ScalarField>::Point>,
<FunctionField<P, F> as ScalarField>::Scalar: BitAnd<Rhs::Scalar>,
F: Fn(P) -> S,
impl<Rhs, P, S, F> BitAnd<Rhs> for FunctionField<P, F>where
Rhs: ScalarField<Point = <FunctionField<P, F> as ScalarField>::Point>,
<FunctionField<P, F> as ScalarField>::Scalar: BitAnd<Rhs::Scalar>,
F: Fn(P) -> S,
Source§type Output = BitAndField<FunctionField<P, F>, Rhs>
type Output = BitAndField<FunctionField<P, F>, Rhs>
The resulting type after applying the
&
operator.Source§impl<Rhs, P, S, F> BitOr<Rhs> for FunctionField<P, F>where
Rhs: ScalarField<Point = <FunctionField<P, F> as ScalarField>::Point>,
<FunctionField<P, F> as ScalarField>::Scalar: BitOr<Rhs::Scalar>,
F: Fn(P) -> S,
impl<Rhs, P, S, F> BitOr<Rhs> for FunctionField<P, F>where
Rhs: ScalarField<Point = <FunctionField<P, F> as ScalarField>::Point>,
<FunctionField<P, F> as ScalarField>::Scalar: BitOr<Rhs::Scalar>,
F: Fn(P) -> S,
Source§type Output = BitOrField<FunctionField<P, F>, Rhs>
type Output = BitOrField<FunctionField<P, F>, Rhs>
The resulting type after applying the
|
operator.Source§impl<Rhs, P, S, F> BitXor<Rhs> for FunctionField<P, F>where
Rhs: ScalarField<Point = <FunctionField<P, F> as ScalarField>::Point>,
<FunctionField<P, F> as ScalarField>::Scalar: BitXor<Rhs::Scalar>,
F: Fn(P) -> S,
impl<Rhs, P, S, F> BitXor<Rhs> for FunctionField<P, F>where
Rhs: ScalarField<Point = <FunctionField<P, F> as ScalarField>::Point>,
<FunctionField<P, F> as ScalarField>::Scalar: BitXor<Rhs::Scalar>,
F: Fn(P) -> S,
Source§type Output = BitXorField<FunctionField<P, F>, Rhs>
type Output = BitXorField<FunctionField<P, F>, Rhs>
The resulting type after applying the
^
operator.Source§impl<P: Clone, F: Clone> Clone for FunctionField<P, F>
impl<P: Clone, F: Clone> Clone for FunctionField<P, F>
Source§fn clone(&self) -> FunctionField<P, F>
fn clone(&self) -> FunctionField<P, F>
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, F> Div<Rhs> for FunctionField<P, F>where
Rhs: ScalarField<Point = <FunctionField<P, F> as ScalarField>::Point>,
<FunctionField<P, F> as ScalarField>::Scalar: Div<Rhs::Scalar>,
F: Fn(P) -> S,
impl<Rhs, P, S, F> Div<Rhs> for FunctionField<P, F>where
Rhs: ScalarField<Point = <FunctionField<P, F> as ScalarField>::Point>,
<FunctionField<P, F> as ScalarField>::Scalar: Div<Rhs::Scalar>,
F: Fn(P) -> S,
Source§impl<Rhs, P, S, F> Mul<Rhs> for FunctionField<P, F>where
Rhs: ScalarField<Point = <FunctionField<P, F> as ScalarField>::Point>,
<FunctionField<P, F> as ScalarField>::Scalar: Mul<Rhs::Scalar>,
F: Fn(P) -> S,
impl<Rhs, P, S, F> Mul<Rhs> for FunctionField<P, F>where
Rhs: ScalarField<Point = <FunctionField<P, F> as ScalarField>::Point>,
<FunctionField<P, F> as ScalarField>::Scalar: Mul<Rhs::Scalar>,
F: Fn(P) -> S,
Source§impl<P, S, F> Neg for FunctionField<P, F>
impl<P, S, F> Neg for FunctionField<P, F>
Source§impl<P, S, F> Not for FunctionField<P, F>
impl<P, S, F> Not for FunctionField<P, F>
Source§impl<Rhs, P, S, F> Rem<Rhs> for FunctionField<P, F>where
Rhs: ScalarField<Point = <FunctionField<P, F> as ScalarField>::Point>,
<FunctionField<P, F> as ScalarField>::Scalar: Rem<Rhs::Scalar>,
F: Fn(P) -> S,
impl<Rhs, P, S, F> Rem<Rhs> for FunctionField<P, F>where
Rhs: ScalarField<Point = <FunctionField<P, F> as ScalarField>::Point>,
<FunctionField<P, F> as ScalarField>::Scalar: Rem<Rhs::Scalar>,
F: Fn(P) -> S,
Source§impl<P, S, F> ScalarField for FunctionField<P, F>where
F: Fn(P) -> S,
impl<P, S, F> ScalarField for FunctionField<P, F>where
F: Fn(P) -> S,
Source§impl<Rhs, P, S, F> Shl<Rhs> for FunctionField<P, F>where
Rhs: ScalarField<Point = <FunctionField<P, F> as ScalarField>::Point>,
<FunctionField<P, F> as ScalarField>::Scalar: Shl<Rhs::Scalar>,
F: Fn(P) -> S,
impl<Rhs, P, S, F> Shl<Rhs> for FunctionField<P, F>where
Rhs: ScalarField<Point = <FunctionField<P, F> as ScalarField>::Point>,
<FunctionField<P, F> as ScalarField>::Scalar: Shl<Rhs::Scalar>,
F: Fn(P) -> S,
Source§impl<Rhs, P, S, F> Shr<Rhs> for FunctionField<P, F>where
Rhs: ScalarField<Point = <FunctionField<P, F> as ScalarField>::Point>,
<FunctionField<P, F> as ScalarField>::Scalar: Shr<Rhs::Scalar>,
F: Fn(P) -> S,
impl<Rhs, P, S, F> Shr<Rhs> for FunctionField<P, F>where
Rhs: ScalarField<Point = <FunctionField<P, F> as ScalarField>::Point>,
<FunctionField<P, F> as ScalarField>::Scalar: Shr<Rhs::Scalar>,
F: Fn(P) -> S,
Source§impl<Rhs, P, S, F> Sub<Rhs> for FunctionField<P, F>where
Rhs: ScalarField<Point = <FunctionField<P, F> as ScalarField>::Point>,
<FunctionField<P, F> as ScalarField>::Scalar: Sub<Rhs::Scalar>,
F: Fn(P) -> S,
impl<Rhs, P, S, F> Sub<Rhs> for FunctionField<P, F>where
Rhs: ScalarField<Point = <FunctionField<P, F> as ScalarField>::Point>,
<FunctionField<P, F> as ScalarField>::Scalar: Sub<Rhs::Scalar>,
F: Fn(P) -> S,
impl<P: Copy, F: Copy> Copy for FunctionField<P, F>
Auto Trait Implementations§
impl<P, F> Freeze for FunctionField<P, F>where
F: Freeze,
impl<P, F> RefUnwindSafe for FunctionField<P, F>where
F: RefUnwindSafe,
P: RefUnwindSafe,
impl<P, F> Send for FunctionField<P, F>
impl<P, F> Sync for FunctionField<P, F>
impl<P, F> Unpin for FunctionField<P, F>
impl<P, F> UnwindSafe for FunctionField<P, F>where
F: 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