Skip to main content

U256

Type Alias U256 

Source
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 From<&FieldElement> for U256

Source§

fn from(fe: &FieldElement) -> U256

Converts to this type from the input type.
Source§

impl From<&Scalar> for U256

Source§

fn from(scalar: &Scalar) -> U256

Converts to this type from the input type.
Source§

impl From<FieldElement> for U256

Source§

fn from(fe: FieldElement) -> U256

Converts to this type from the input type.
Source§

impl From<Scalar> for U256

Source§

fn from(scalar: Scalar) -> U256

Converts to this type from the input type.