Struct snarkvm_circuit_account::signature::Signature
source · pub struct Signature<A: Aleo> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<A: Aleo> Eject for Signature<A>
impl<A: Aleo> Eject for Signature<A>
source§fn eject_mode(&self) -> Mode
fn eject_mode(&self) -> Mode
Ejects the mode of the signature.
source§fn eject_value(&self) -> Self::Primitive
fn eject_value(&self) -> Self::Primitive
Ejects the signature.
type Primitive = Signature<<A as Environment>::Network>
§fn is_constant(&self) -> bool
fn is_constant(&self) -> bool
Returns
true
if the circuit is a constant.§fn is_private(&self) -> bool
fn is_private(&self) -> bool
Returns
true
if the circuit is a private.source§impl<A: Aleo> Equal for Signature<A>
impl<A: Aleo> Equal for Signature<A>
source§impl<A: Aleo> FromBits for Signature<A>
impl<A: Aleo> FromBits for Signature<A>
source§fn from_bits_le(bits_le: &[Self::Boolean]) -> Self
fn from_bits_le(bits_le: &[Self::Boolean]) -> Self
Initializes a new signature from a list of little-endian bits.
source§fn from_bits_be(bits_be: &[Self::Boolean]) -> Self
fn from_bits_be(bits_be: &[Self::Boolean]) -> Self
Initializes a new signature from a list of big-endian bits.
type Boolean = Boolean<A>
source§impl<A: Aleo> Inject for Signature<A>
impl<A: Aleo> Inject for Signature<A>
source§impl<A: Aleo> Metrics<dyn Ternary<Boolean = Boolean<A>, Output = Signature<A>>> for Signature<A>
impl<A: Aleo> Metrics<dyn Ternary<Boolean = Boolean<A>, Output = Signature<A>>> for Signature<A>
source§impl<A: Aleo> OutputMode<dyn Equal<Signature<A>, Output = Boolean<A>>> for Signature<A>
impl<A: Aleo> OutputMode<dyn Equal<Signature<A>, Output = Boolean<A>>> for Signature<A>
type Case = (Mode, Mode)
source§fn output_mode(case: &Self::Case) -> Mode
fn output_mode(case: &Self::Case) -> Mode
Returns the mode of the output.
source§impl<A: Aleo> OutputMode<dyn Ternary<Boolean = Boolean<A>, Output = Signature<A>>> for Signature<A>
impl<A: Aleo> OutputMode<dyn Ternary<Boolean = Boolean<A>, Output = Signature<A>>> for Signature<A>
type Case = (CircuitType<Boolean<A>>, Mode, Mode)
source§fn output_mode(parameter: &Self::Case) -> Mode
fn output_mode(parameter: &Self::Case) -> Mode
Returns the mode of the output.
source§impl<A: Aleo> ToBits for &Signature<A>
impl<A: Aleo> ToBits for &Signature<A>
source§fn write_bits_le(&self, vec: &mut Vec<Self::Boolean>)
fn write_bits_le(&self, vec: &mut Vec<Self::Boolean>)
Outputs the little-endian bit representation of the signature without trailing zeros.
source§fn write_bits_be(&self, vec: &mut Vec<Self::Boolean>)
fn write_bits_be(&self, vec: &mut Vec<Self::Boolean>)
Outputs the big-endian bit representation of the signature without leading zeros.
type Boolean = Boolean<A>
§fn to_bits_le(&self) -> Vec<Self::Boolean>
fn to_bits_le(&self) -> Vec<Self::Boolean>
Returns the little-endian bits of the circuit.
§fn to_bits_be(&self) -> Vec<Self::Boolean>
fn to_bits_be(&self) -> Vec<Self::Boolean>
Returns the big-endian bits of the circuit.
source§impl<A: Aleo> ToBits for Signature<A>
impl<A: Aleo> ToBits for Signature<A>
source§fn write_bits_le(&self, vec: &mut Vec<Self::Boolean>)
fn write_bits_le(&self, vec: &mut Vec<Self::Boolean>)
Outputs the little-endian bit representation of the signature without trailing zeros.
source§fn write_bits_be(&self, vec: &mut Vec<Self::Boolean>)
fn write_bits_be(&self, vec: &mut Vec<Self::Boolean>)
Outputs the big-endian bit representation of the signature without leading zeros.
type Boolean = Boolean<A>
§fn to_bits_le(&self) -> Vec<Self::Boolean>
fn to_bits_le(&self) -> Vec<Self::Boolean>
Returns the little-endian bits of the circuit.
§fn to_bits_be(&self) -> Vec<Self::Boolean>
fn to_bits_be(&self) -> Vec<Self::Boolean>
Returns the big-endian bits of the circuit.
Auto Trait Implementations§
impl<A> RefUnwindSafe for Signature<A>where <A as Environment>::BaseField: UnwindSafe + RefUnwindSafe,
impl<A> !Send for Signature<A>
impl<A> !Sync for Signature<A>
impl<A> Unpin for Signature<A>where <A as Environment>::BaseField: Unpin,
impl<A> UnwindSafe for Signature<A>where <A 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