Struct snarkvm_circuit_types_address::Address
source · pub struct Address<E: Environment>(_);
Trait Implementations§
source§impl<E: Environment> Compare<Address<E>> for Address<E>
impl<E: Environment> Compare<Address<E>> for Address<E>
source§fn is_less_than(&self, other: &Self) -> Self::Output
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
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
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
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 Address<E>
impl<E: Environment> Debug for Address<E>
source§impl<E: Environment> Display for Address<E>
impl<E: Environment> Display for Address<E>
source§impl<E: Environment> Eject for Address<E>
impl<E: Environment> Eject for Address<E>
source§fn eject_mode(&self) -> Mode
fn eject_mode(&self) -> Mode
Ejects the mode of the address.
source§fn eject_value(&self) -> Self::Primitive
fn eject_value(&self) -> Self::Primitive
Ejects the address.
type Primitive = Address<<E as Environment>::Network>
source§fn eject(&self) -> (Mode, Self::Primitive)
fn eject(&self) -> (Mode, Self::Primitive)
Ejects the mode and primitive value of the circuit type.
source§fn is_constant(&self) -> bool
fn is_constant(&self) -> bool
Returns
true
if the circuit is a constant.source§fn is_private(&self) -> bool
fn is_private(&self) -> bool
Returns
true
if the circuit is a private.source§impl<E: Environment> Equal<Address<E>> for Address<E>
impl<E: Environment> Equal<Address<E>> for Address<E>
source§impl<E: Environment> From<&Address<E>> for LinearCombination<E::BaseField>
impl<E: Environment> From<&Address<E>> for LinearCombination<E::BaseField>
source§impl<E: Environment> From<Address<E>> for LinearCombination<E::BaseField>
impl<E: Environment> From<Address<E>> for LinearCombination<E::BaseField>
source§impl<E: Environment> FromBits for Address<E>
impl<E: Environment> FromBits for Address<E>
source§impl<E: Environment> FromField for Address<E>
impl<E: Environment> FromField for Address<E>
source§impl<E: Environment> FromGroup for Address<E>
impl<E: Environment> FromGroup for Address<E>
source§impl<E: Environment> FromStr for Address<E>
impl<E: Environment> FromStr for Address<E>
source§impl<E: Environment> Inject for Address<E>
impl<E: Environment> Inject for Address<E>
source§impl<E: Environment> Metrics<dyn Ternary<Output = Address<E>, Boolean = Boolean<E>>> for Address<E>
impl<E: Environment> Metrics<dyn Ternary<Output = Address<E>, Boolean = Boolean<E>>> for Address<E>
source§impl<E: Environment> OutputMode<dyn Ternary<Output = Address<E>, Boolean = Boolean<E>>> for Address<E>
impl<E: Environment> OutputMode<dyn Ternary<Output = Address<E>, Boolean = Boolean<E>>> for Address<E>
source§impl<E: Environment> Parser for Address<E>
impl<E: Environment> Parser for Address<E>
source§impl<E: Environment> Ternary for Address<E>
impl<E: Environment> Ternary for Address<E>
source§impl<E: Environment> ToBits for &Address<E>
impl<E: Environment> ToBits for &Address<E>
source§impl<E: Environment> ToBits for Address<E>
impl<E: Environment> ToBits for Address<E>
source§impl<E: Environment> ToField for Address<E>
impl<E: Environment> ToField for Address<E>
source§impl<E: Environment> ToGroup for Address<E>
impl<E: Environment> ToGroup for Address<E>
source§impl<E: Environment> TypeName for Address<E>
impl<E: Environment> TypeName for Address<E>
impl<E: Environment> AddressTrait for Address<E>
Auto Trait Implementations§
impl<E> RefUnwindSafe for Address<E>where <E as Environment>::BaseField: UnwindSafe + RefUnwindSafe,
impl<E> !Send for Address<E>
impl<E> !Sync for Address<E>
impl<E> Unpin for Address<E>where <E as Environment>::BaseField: Unpin,
impl<E> UnwindSafe for Address<E>where <E as Environment>::BaseField: UnwindSafe + RefUnwindSafe,
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