pub type U256 = Uint<crypto_bigint::::uint::U256::{constant#0}>;
Expand description
256-bit unsigned big integer.
Aliased Type§
pub struct U256 { /* private fields */ }
Trait Implementations§
Source§impl FieldBytesEncoding<Secp256k1> for U256
impl FieldBytesEncoding<Secp256k1> for U256
Source§fn decode_field_bytes(field_bytes: &FieldBytes<Secp256k1>) -> Self
fn decode_field_bytes(field_bytes: &FieldBytes<Secp256k1>) -> Self
Decode unsigned integer from serialized field element. Read more
Source§fn encode_field_bytes(&self) -> FieldBytes<Secp256k1>
fn encode_field_bytes(&self) -> FieldBytes<Secp256k1>
Encode unsigned integer into serialized field element. Read more
Source§impl From<Secp256k1Scalar> for U256
impl From<Secp256k1Scalar> for U256
Source§fn from(scalar: Secp256k1Scalar) -> Self
fn from(scalar: Secp256k1Scalar) -> Self
Converts to this type from the input type.