pub struct Field<E: Environment> { /* private fields */ }

Trait Implementations§

source§

impl<E: Environment> Add<&Field<E>> for &Field<E>

§

type Output = Field<E>

The resulting type after applying the + operator.
source§

fn add(self, other: &Field<E>) -> Self::Output

Performs the + operation. Read more
source§

impl<E: Environment> Add<&Field<E>> for Field<E>

§

type Output = Field<E>

The resulting type after applying the + operator.
source§

fn add(self, other: &Field<E>) -> Self::Output

Performs the + operation. Read more
source§

impl<E: Environment> Add<Field<E>> for &Field<E>

§

type Output = Field<E>

The resulting type after applying the + operator.
source§

fn add(self, other: Field<E>) -> Self::Output

Performs the + operation. Read more
source§

impl<E: Environment> Add<Field<E>> for Field<E>

§

type Output = Field<E>

The resulting type after applying the + operator.
source§

fn add(self, other: Field<E>) -> Self::Output

Performs the + operation. Read more
source§

impl<E: Environment> AddAssign<&Field<E>> for Field<E>

source§

fn add_assign(&mut self, other: &Field<E>)

Performs the += operation. Read more
source§

impl<E: Environment> AddAssign<Field<E>> for Field<E>

source§

fn add_assign(&mut self, other: Field<E>)

Performs the += operation. Read more
source§

impl<E: Clone + Environment> Clone for Field<E>where E::BaseField: Clone,

source§

fn clone(&self) -> Field<E>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<E: Environment> Compare<Field<E>> for Field<E>

source§

fn is_less_than(&self, other: &Self) -> Self::Output

Returns true if self is less than other.

source§

fn is_greater_than(&self, other: &Self) -> Self::Output

Returns true if self is greater than other.

source§

fn is_less_than_or_equal(&self, other: &Self) -> Self::Output

Returns true if self is less than or equal to other.

source§

fn is_greater_than_or_equal(&self, other: &Self) -> Self::Output

Returns true if self is greater than or equal to other.

§

type Output = Boolean<E>

source§

impl<E: Environment> Debug for Field<E>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<E: Environment> Display for Field<E>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<E: Environment> Div<&Field<E>> for &Field<E>

§

type Output = Field<E>

The resulting type after applying the / operator.
source§

fn div(self, other: &Field<E>) -> Self::Output

Performs the / operation. Read more
source§

impl<E: Environment> Div<&Field<E>> for Field<E>

§

type Output = Field<E>

The resulting type after applying the / operator.
source§

fn div(self, other: &Field<E>) -> Self::Output

Performs the / operation. Read more
source§

impl<E: Environment> Div<Field<E>> for &Field<E>

§

type Output = Field<E>

The resulting type after applying the / operator.
source§

fn div(self, other: Field<E>) -> Self::Output

Performs the / operation. Read more
source§

impl<E: Environment> Div<Field<E>> for Field<E>

§

type Output = Field<E>

The resulting type after applying the / operator.
source§

fn div(self, other: Field<E>) -> Self::Output

Performs the / operation. Read more
source§

impl<E: Environment> DivAssign<&Field<E>> for Field<E>

source§

fn div_assign(&mut self, other: &Self)

Performs the /= operation. Read more
source§

impl<E: Environment> DivAssign<Field<E>> for Field<E>

source§

fn div_assign(&mut self, other: Self)

Performs the /= operation. Read more
source§

impl<E: Environment> DivUnchecked<Field<E>> for Field<E>

§

type Output = Field<E>

§

fn div_unchecked(&self, rhs: &Rhs) -> Self::Output

source§

impl<E: Environment> Double for Field<E>

§

type Output = Field<E>

source§

fn double(&self) -> Self::Output

source§

impl<E: Environment> Eject for Field<E>

source§

fn eject_mode(&self) -> Mode

Ejects the mode of the field circuit.

source§

fn eject_value(&self) -> Self::Primitive

Ejects the field circuit as a console field.

§

type Primitive = Field<<E as Environment>::Network>

source§

fn eject(&self) -> (Mode, Self::Primitive)

Ejects the mode and primitive value of the circuit type.
source§

fn is_constant(&self) -> bool

Returns true if the circuit is a constant.
source§

fn is_public(&self) -> bool

Returns true if the circuit is a public.
source§

fn is_private(&self) -> bool

Returns true if the circuit is a private.
source§

impl<E: Environment> Equal<Field<E>> for Field<E>

source§

fn is_equal(&self, other: &Self) -> Self::Output

Returns true if self and other are equal.

This method costs 3 constraints.

source§

fn is_not_equal(&self, other: &Self) -> Self::Output

Returns true if self and other are not equal.

This method constructs a boolean that indicates if self and other are not equal to each other.

This method costs 3 constraints.

§

type Output = Boolean<E>

source§

impl<E: Environment> From<&Field<E>> for LinearCombination<E::BaseField>

source§

fn from(field: &Field<E>) -> Self

Converts to this type from the input type.
source§

impl<E: Environment> From<&LinearCombination<<E as Environment>::BaseField>> for Field<E>

source§

fn from(linear_combination: &LinearCombination<E::BaseField>) -> Self

Converts to this type from the input type.
source§

impl<E: Environment> From<Field<E>> for LinearCombination<E::BaseField>

source§

fn from(field: Field<E>) -> Self

Converts to this type from the input type.
source§

impl<E: Environment> From<LinearCombination<<E as Environment>::BaseField>> for Field<E>

source§

fn from(linear_combination: LinearCombination<E::BaseField>) -> Self

Converts to this type from the input type.
source§

impl<E: Environment> FromBits for Field<E>

source§

fn from_bits_le(bits_le: &[Self::Boolean]) -> Self

Initializes a new base field element from a list of little-endian bits.

  • If bits_le is longer than E::BaseField::size_in_bits(), the excess bits are enforced to be 0s.
  • If bits_le is shorter than E::BaseField::size_in_bits(), it is padded with 0s up to base field size.
source§

fn from_bits_be(bits_be: &[Self::Boolean]) -> Self

Initializes a new base field element from a list of big-endian bits without leading zeros.

§

type Boolean = Boolean<E>

source§

impl<E: Environment> FromBoolean for Field<E>

source§

fn from_boolean(boolean: &Self::Boolean) -> Self

Initializes a base field from a boolean.

§

type Boolean = Boolean<E>

source§

impl<E: Environment> FromStr for Field<E>

source§

fn from_str(string: &str) -> Result<Self>

Parses a string into a field circuit.

§

type Err = Error

The associated error which can be returned from parsing.
source§

impl<E: Environment> Inject for Field<E>

source§

fn new(mode: Mode, field: Self::Primitive) -> Self

Initializes a field circuit from a console field.

§

type Primitive = Field<<E as Environment>::Network>

source§

fn constant(value: Self::Primitive) -> Selfwhere Self: Sized,

Initializes a constant of the given primitive value.
source§

impl<E: Environment> Inv for &Field<E>

§

type Output = Field<E>

The result after applying the operator.
source§

fn inv(self) -> Self::Output

Returns the multiplicative inverse of self. Read more
source§

impl<E: Environment> Inv for Field<E>

§

type Output = Field<E>

The result after applying the operator.
source§

fn inv(self) -> Self::Output

Returns the multiplicative inverse of self. Read more
source§

impl<E: Environment> Inverse for Field<E>

§

type Output = Field<E>

source§

fn inverse(&self) -> Self::Output

source§

impl<E: Environment> Metrics<dyn Add<Field<E>, Output = Field<E>>> for Field<E>

§

type Case = (Mode, Mode)

source§

fn count(_case: &Self::Case) -> Count

Returns the number of constants, public inputs, private inputs, and constraints.
source§

impl<E: Environment> Metrics<dyn Div<Field<E>, Output = Field<E>>> for Field<E>

§

type Case = (Mode, Mode)

source§

fn count(case: &Self::Case) -> Count

Returns the number of constants, public inputs, private inputs, and constraints.
source§

impl<E: Environment> Metrics<dyn DivUnchecked<Field<E>, Output = Field<E>>> for Field<E>

§

type Case = (Mode, Mode)

source§

fn count(case: &Self::Case) -> Count

Returns the number of constants, public inputs, private inputs, and constraints.
source§

impl<E: Environment> Metrics<dyn Double<Output = Field<E>>> for Field<E>

§

type Case = Mode

source§

fn count(_parameter: &Self::Case) -> Count

Returns the number of constants, public inputs, private inputs, and constraints.
source§

impl<E: Environment> Metrics<dyn Equal<Field<E>, Output = Boolean<E>>> for Field<E>

§

type Case = (Mode, Mode)

source§

fn count(case: &Self::Case) -> Count

Returns the number of constants, public inputs, private inputs, and constraints.
source§

impl<E: Environment> Metrics<dyn FromBits<Boolean = Boolean<E>>> for Field<E>

§

type Case = Vec<Mode, Global>

source§

fn count(_modes: &Self::Case) -> Count

Returns the number of constants, public inputs, private inputs, and constraints.
source§

impl<E: Environment> Metrics<dyn FromBoolean<Boolean = Boolean<E>>> for Field<E>

§

type Case = ()

source§

fn count(_case: &Self::Case) -> Count

Returns the number of constants, public inputs, private inputs, and constraints.
source§

impl<E: Environment> Metrics<dyn Inverse<Output = Field<E>>> for Field<E>

§

type Case = Mode

source§

fn count(case: &Self::Case) -> Count

Returns the number of constants, public inputs, private inputs, and constraints.
source§

impl<E: Environment> Metrics<dyn Mul<Field<E>, Output = Field<E>>> for Field<E>

§

type Case = (Mode, Mode)

source§

fn count(case: &Self::Case) -> Count

Returns the number of constants, public inputs, private inputs, and constraints.
source§

impl<E: Environment> Metrics<dyn Neg<Output = Field<E>>> for Field<E>

§

type Case = Mode

source§

fn count(_case: &Self::Case) -> Count

Returns the number of constants, public inputs, private inputs, and constraints.
source§

impl<E: Environment> Metrics<dyn One<Boolean = Boolean<E>>> for Field<E>

§

type Case = ()

source§

fn count(_parameter: &Self::Case) -> Count

Returns the number of constants, public inputs, private inputs, and constraints.
source§

impl<E: Environment> Metrics<dyn Pow<Field<E>, Output = Field<E>>> for Field<E>

§

type Case = (CircuitType<Field<E>>, CircuitType<Field<E>>)

source§

fn count(case: &Self::Case) -> Count

Returns the number of constants, public inputs, private inputs, and constraints.
source§

impl<E: Environment> Metrics<dyn Square<Output = Field<E>>> for Field<E>

§

type Case = Mode

source§

fn count(case: &Self::Case) -> Count

Returns the number of constants, public inputs, private inputs, and constraints.
source§

impl<E: Environment> Metrics<dyn SquareRoot<Output = Field<E>>> for Field<E>

§

type Case = Mode

source§

fn count(case: &Self::Case) -> Count

Returns the number of constants, public inputs, private inputs, and constraints.
source§

impl<E: Environment> Metrics<dyn Sub<Field<E>, Output = Field<E>>> for Field<E>

§

type Case = (Mode, Mode)

source§

fn count(_case: &Self::Case) -> Count

Returns the number of constants, public inputs, private inputs, and constraints.
source§

impl<E: Environment> Metrics<dyn Ternary<Output = Field<E>, Boolean = Boolean<E>>> for Field<E>

§

type Case = (Mode, Mode, Mode)

source§

fn count(case: &Self::Case) -> Count

Returns the number of constants, public inputs, private inputs, and constraints.
source§

impl<E: Environment> Metrics<dyn ToBits<Boolean = Boolean<E>>> for Field<E>

§

type Case = Mode

source§

fn count(case: &Self::Case) -> Count

Returns the number of constants, public inputs, private inputs, and constraints.
source§

impl<E: Environment> Metrics<dyn ToLowerBits<Boolean = Boolean<E>>> for Field<E>

§

type Case = (Mode, u64)

source§

fn count(case: &Self::Case) -> Count

Returns the number of constants, public inputs, private inputs, and constraints.
source§

impl<E: Environment> Metrics<dyn ToUpperBits<Boolean = Boolean<E>>> for Field<E>

§

type Case = (Mode, u64)

source§

fn count(case: &Self::Case) -> Count

Returns the number of constants, public inputs, private inputs, and constraints.
source§

impl<E: Environment> Metrics<dyn Zero<Boolean = Boolean<E>>> for Field<E>

§

type Case = ()

source§

fn count(_parameter: &Self::Case) -> Count

Returns the number of constants, public inputs, private inputs, and constraints.
source§

impl<E: Environment> Mul<&Field<E>> for &Field<E>

§

type Output = Field<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Field<E>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: Environment> Mul<&Field<E>> for Field<E>

§

type Output = Field<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Field<E>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: Environment> Mul<Field<E>> for &Field<E>

§

type Output = Field<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Field<E>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: Environment> Mul<Field<E>> for Field<E>

§

type Output = Field<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Field<E>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: Environment> MulAssign<&Field<E>> for Field<E>

source§

fn mul_assign(&mut self, other: &Field<E>)

Performs the *= operation. Read more
source§

impl<E: Environment> MulAssign<Field<E>> for Field<E>

source§

fn mul_assign(&mut self, other: Field<E>)

Performs the *= operation. Read more
source§

impl<E: Environment> Neg for &Field<E>

source§

fn neg(self) -> Self::Output

Performs the unary - operation.

§

type Output = Field<E>

The resulting type after applying the - operator.
source§

impl<E: Environment> Neg for Field<E>

source§

fn neg(self) -> Self::Output

Performs the unary - operation.

§

type Output = Field<E>

The resulting type after applying the - operator.
source§

impl<E: Environment> One for Field<E>

§

type Boolean = Boolean<E>

source§

fn one() -> Self

Returns a new one constant.
source§

fn is_one(&self) -> Self::Boolean

Returns true if self is one.
source§

impl<E: Environment> OutputMode<dyn Add<Field<E>, Output = Field<E>>> for Field<E>

§

type Case = (CircuitType<Field<E>>, CircuitType<Field<E>>)

source§

fn output_mode(case: &Self::Case) -> Mode

Returns the mode of the output.
source§

impl<E: Environment> OutputMode<dyn Div<Field<E>, Output = Field<E>>> for Field<E>

§

type Case = (CircuitType<Field<E>>, CircuitType<Field<E>>)

source§

fn output_mode(case: &Self::Case) -> Mode

Returns the mode of the output.
source§

impl<E: Environment> OutputMode<dyn DivUnchecked<Field<E>, Output = Field<E>>> for Field<E>

§

type Case = (CircuitType<Field<E>>, CircuitType<Field<E>>)

source§

fn output_mode(case: &Self::Case) -> Mode

Returns the mode of the output.
source§

impl<E: Environment> OutputMode<dyn Double<Output = Field<E>>> for Field<E>

§

type Case = Mode

source§

fn output_mode(input: &Self::Case) -> Mode

Returns the mode of the output.
source§

impl<E: Environment> OutputMode<dyn Equal<Field<E>, Output = Boolean<E>>> for Field<E>

§

type Case = (Mode, Mode)

source§

fn output_mode(case: &Self::Case) -> Mode

Returns the mode of the output.
source§

impl<E: Environment> OutputMode<dyn FromBits<Boolean = Boolean<E>>> for Field<E>

§

type Case = Vec<Mode, Global>

source§

fn output_mode(case: &Self::Case) -> Mode

Returns the mode of the output.
source§

impl<E: Environment> OutputMode<dyn FromBoolean<Boolean = Boolean<E>>> for Field<E>

§

type Case = Mode

source§

fn output_mode(case: &Self::Case) -> Mode

Returns the mode of the output.
source§

impl<E: Environment> OutputMode<dyn Inverse<Output = Field<E>>> for Field<E>

§

type Case = Mode

source§

fn output_mode(case: &Self::Case) -> Mode

Returns the mode of the output.
source§

impl<E: Environment> OutputMode<dyn Mul<Field<E>, Output = Field<E>>> for Field<E>

§

type Case = (CircuitType<Field<E>>, CircuitType<Field<E>>)

source§

fn output_mode(case: &Self::Case) -> Mode

Returns the mode of the output.
source§

impl<E: Environment> OutputMode<dyn Neg<Output = Field<E>>> for Field<E>

§

type Case = Mode

source§

fn output_mode(case: &Self::Case) -> Mode

Returns the mode of the output.
source§

impl<E: Environment> OutputMode<dyn One<Boolean = Boolean<E>>> for Field<E>

§

type Case = ()

source§

fn output_mode(_input: &Self::Case) -> Mode

Returns the mode of the output.
source§

impl<E: Environment> OutputMode<dyn Pow<Field<E>, Output = Field<E>>> for Field<E>

§

type Case = (CircuitType<Field<E>>, CircuitType<Field<E>>)

source§

fn output_mode(case: &Self::Case) -> Mode

Returns the mode of the output.
source§

impl<E: Environment> OutputMode<dyn Square<Output = Field<E>>> for Field<E>

§

type Case = Mode

source§

fn output_mode(input: &Self::Case) -> Mode

Returns the mode of the output.
source§

impl<E: Environment> OutputMode<dyn SquareRoot<Output = Field<E>>> for Field<E>

§

type Case = Mode

source§

fn output_mode(case: &Self::Case) -> Mode

Returns the mode of the output.
source§

impl<E: Environment> OutputMode<dyn Sub<Field<E>, Output = Field<E>>> for Field<E>

§

type Case = (CircuitType<Field<E>>, CircuitType<Field<E>>)

source§

fn output_mode(case: &Self::Case) -> Mode

Returns the mode of the output.
source§

impl<E: Environment> OutputMode<dyn Ternary<Output = Field<E>, Boolean = Boolean<E>>> for Field<E>

§

type Case = (CircuitType<Boolean<E>>, Mode, Mode)

source§

fn output_mode(parameter: &Self::Case) -> Mode

Returns the mode of the output.
source§

impl<E: Environment> OutputMode<dyn ToBits<Boolean = Boolean<E>>> for Field<E>

§

type Case = Mode

source§

fn output_mode(case: &Self::Case) -> Mode

Returns the mode of the output.
source§

impl<E: Environment> OutputMode<dyn ToLowerBits<Boolean = Boolean<E>>> for Field<E>

§

type Case = Mode

source§

fn output_mode(case: &Self::Case) -> Mode

Returns the mode of the output.
source§

impl<E: Environment> OutputMode<dyn ToUpperBits<Boolean = Boolean<E>>> for Field<E>

§

type Case = Mode

source§

fn output_mode(case: &Self::Case) -> Mode

Returns the mode of the output.
source§

impl<E: Environment> OutputMode<dyn Zero<Boolean = Boolean<E>>> for Field<E>

§

type Case = ()

source§

fn output_mode(_input: &Self::Case) -> Mode

Returns the mode of the output.
source§

impl<E: Environment> Parser for Field<E>

source§

fn parse(string: &str) -> ParserResult<'_, Self>

Parses a string into a field circuit.

source§

impl<E: Environment> Pow<&Field<E>> for &Field<E>

§

type Output = Field<E>

The result after applying the operator.
source§

fn pow(self, exponent: &Field<E>) -> Self::Output

Returns self to the power rhs. Read more
source§

impl<E: Environment> Pow<&Field<E>> for Field<E>

§

type Output = Field<E>

The result after applying the operator.
source§

fn pow(self, exponent: &Field<E>) -> Self::Output

Returns self to the power rhs. Read more
source§

impl<E: Environment> Pow<Field<E>> for &Field<E>

§

type Output = Field<E>

The result after applying the operator.
source§

fn pow(self, exponent: Field<E>) -> Self::Output

Returns self to the power rhs. Read more
source§

impl<E: Environment> Pow<Field<E>> for Field<E>

§

type Output = Field<E>

The result after applying the operator.
source§

fn pow(self, exponent: Field<E>) -> Self::Output

Returns self to the power rhs. Read more
source§

impl<E: Environment> Square for Field<E>

§

type Output = Field<E>

source§

fn square(&self) -> Self::Output

source§

impl<E: Environment> SquareRoot for Field<E>

§

type Output = Field<E>

source§

fn square_root(&self) -> Self::Output

source§

impl<E: Environment> Sub<&Field<E>> for &Field<E>

§

type Output = Field<E>

The resulting type after applying the - operator.
source§

fn sub(self, other: &Field<E>) -> Self::Output

Performs the - operation. Read more
source§

impl<E: Environment> Sub<&Field<E>> for Field<E>

§

type Output = Field<E>

The resulting type after applying the - operator.
source§

fn sub(self, other: &Field<E>) -> Self::Output

Performs the - operation. Read more
source§

impl<E: Environment> Sub<Field<E>> for &Field<E>

§

type Output = Field<E>

The resulting type after applying the - operator.
source§

fn sub(self, other: Field<E>) -> Self::Output

Performs the - operation. Read more
source§

impl<E: Environment> Sub<Field<E>> for Field<E>

§

type Output = Field<E>

The resulting type after applying the - operator.
source§

fn sub(self, other: Field<E>) -> Self::Output

Performs the - operation. Read more
source§

impl<E: Environment> SubAssign<&Field<E>> for Field<E>

source§

fn sub_assign(&mut self, other: &Field<E>)

Performs the -= operation. Read more
source§

impl<E: Environment> SubAssign<Field<E>> for Field<E>

source§

fn sub_assign(&mut self, other: Field<E>)

Performs the -= operation. Read more
source§

impl<E: Environment> Ternary for Field<E>

source§

fn ternary( condition: &Self::Boolean, first: &Self, second: &Self ) -> Self::Output

Returns first if condition is true, otherwise returns second.

§

type Boolean = Boolean<E>

§

type Output = Field<E>

source§

impl<E: Environment> ToBits for &Field<E>

source§

fn to_bits_le(&self) -> Vec<Self::Boolean>

Outputs the unique, minimal little-endian bit representation of self without trailing zeros.

source§

fn to_bits_be(&self) -> Vec<Self::Boolean>

Outputs the unique, minimal big-endian bit representation of self without leading zeros.

§

type Boolean = Boolean<E>

source§

impl<E: Environment> ToBits for Field<E>

source§

fn to_bits_le(&self) -> Vec<Self::Boolean>

Outputs the little-endian bit representation of self without trailing zeros.

source§

fn to_bits_be(&self) -> Vec<Self::Boolean>

Outputs the big-endian bit representation of self without leading zeros.

§

type Boolean = Boolean<E>

source§

impl<E: Environment> ToLowerBits for Field<E>

source§

fn to_lower_bits_le(&self, k: usize) -> Vec<Self::Boolean>

Outputs the lower k bits of an n-bit field element in little-endian representation. Enforces that the upper n - k bits are zero.

source§

fn to_lower_bits_be(&self, k: usize) -> Vec<Self::Boolean>

Outputs the lower k bits of an n-bit field element in big-endian representation. Enforces that the upper n - k bits are zero.

§

type Boolean = Boolean<E>

source§

impl<E: Environment> ToUpperBits for Field<E>

source§

fn to_upper_bits_le(&self, k: usize) -> Vec<Self::Boolean>

Outputs the upper k bits of an n-bit field element in little-endian representation. Enforces that the lower n - k bits are zero.

source§

fn to_upper_bits_be(&self, k: usize) -> Vec<Self::Boolean>

Outputs the upper k bits of an n-bit field element in big-endian representation. Enforces that the lower n - k bits are zero.

§

type Boolean = Boolean<E>

source§

impl<E: Environment> TypeName for Field<E>

source§

fn type_name() -> &'static str

Returns the type name of the circuit as a string.

source§

impl<E: Environment> Zero for Field<E>

§

type Boolean = Boolean<E>

source§

fn zero() -> Self

Returns a new zero constant.
source§

fn is_zero(&self) -> Self::Boolean

Returns true if self is zero.
source§

impl<E: Environment> FieldTrait for Field<E>

Auto Trait Implementations§

§

impl<E> RefUnwindSafe for Field<E>where <E as Environment>::BaseField: UnwindSafe + RefUnwindSafe,

§

impl<E> !Send for Field<E>

§

impl<E> !Sync for Field<E>

§

impl<E> Unpin for Field<E>where <E as Environment>::BaseField: Unpin,

§

impl<E> UnwindSafe for Field<E>where <E as Environment>::BaseField: UnwindSafe + RefUnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V