aztec-nr - protocol_types::address::eth_address

Struct EthAddress

pub struct EthAddress
{ /* private fields */ }

Implementations

impl EthAddress

pub fn zero() -> Self pub fn from_field(field: Field) -> Self pub fn is_zero(self) -> bool pub fn assert_is_zero(self) pub fn to_be_bytes(self) -> [u8; 20]

Trait implementations

impl Deserialize for EthAddress

pub fn deserialize(serialized: [Field; 1]) -> Self

impl Empty for EthAddress

pub fn empty() -> Self pub fn is_empty(self) -> bool pub fn assert_empty<let S: u32>(self, msg: str<S>)

impl Eq for EthAddress

pub fn eq(_self: Self, _other: Self) -> bool

impl Packable for EthAddress

pub fn pack(self) -> [Field; 1] pub fn unpack(packed: [Field; 1]) -> Self

impl Serialize for EthAddress

pub fn serialize(self) -> [Field; 1]

impl ToField for EthAddress

pub fn to_field(self) -> Field