aztec-nr - noir_aztec::test::mocks::mock_struct

Struct MockStruct

pub struct MockStruct {
    pub a: Field,
    pub b: Field,
}

Fields

a: Field
b: Field

Implementations

impl MockStruct

Trait implementations

impl Deserialize for MockStruct

pub fn deserialize(fields: [Field; 2]) -> Self

impl Empty for MockStruct

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

impl Eq for MockStruct

pub fn eq(self, other: Self) -> bool

impl Packable for MockStruct

pub fn pack(self) -> [Field; 2] pub fn unpack(fields: [Field; 2]) -> Self

impl Serialize for MockStruct

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